Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002746/0.002746, allocations: 216.9 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1385/0.1385, allocations: 23.88 MB / 337.1 MB, free: 11.2 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterSublimation,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_WaterSublimation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterSublimation,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_WaterSublimation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 59.91 kB / 472 MB, free: 7.688 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.301, allocations: 59.87 MB / 0.5194 GB, free: 9.637 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterSublimation): time 0.03787/0.3389, allocations: 26.52 MB / 0.5453 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01789/0.3567, allocations: 12.41 MB / 0.5574 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.3578, allocations: 27.75 kB / 0.5574 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009319/0.3587, allocations: 282.7 kB / 0.5577 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.3619, allocations: 1.064 MB / 0.5587 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004383/0.3663, allocations: 1.569 MB / 0.5603 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002084/0.3683, allocations: 1.415 MB / 0.5616 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009511/0.3693, allocations: 0.7003 MB / 0.5623 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008284/0.3701, allocations: 0.6847 MB / 0.563 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.3712, allocations: 0.7346 MB / 0.5637 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.3714, allocations: 124 kB / 0.5638 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003488/0.3749, allocations: 1.205 MB / 0.565 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003127/0.3752, allocations: 292 kB / 0.5653 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006823/0.3758, allocations: 0.6525 MB / 0.5659 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004658/0.3805, allocations: 2.72 MB / 0.5686 GB, free: 7.727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3805, allocations: 0 / 0.5686 GB, free: 7.727 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3805, allocations: 0 / 0.5686 GB, free: 7.727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.06e-05/0.3805, allocations: 0 / 0.5686 GB, free: 7.727 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.002945/0.3835, allocations: 1.587 MB / 0.5701 GB, free: 6.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3835, allocations: 8.031 kB / 0.5701 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.372e-05/0.3836, allocations: 30.45 kB / 0.5702 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000207/0.3838, allocations: 169.3 kB / 0.5703 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.3849, allocations: 267.9 kB / 0.5706 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009549/0.3858, allocations: 0.5464 MB / 0.5711 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/0.3859, allocations: 94.64 kB / 0.5712 GB, free: 4.961 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.3861, allocations: 120.3 kB / 0.5713 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.3882, allocations: 1.202 MB / 0.5725 GB, free: 3.598 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.3882, allocations: 0 / 0.5725 GB, free: 3.598 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.3883, allocations: 44 kB / 0.5725 GB, free: 3.555 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/0.3884, allocations: 28 kB / 0.5726 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.3907, allocations: 1.336 MB / 0.5739 GB, free: 2.184 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006515/0.3972, allocations: 3.961 MB / 0.5777 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.3988, allocations: 0.8985 MB / 0.5786 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005935/0.3994, allocations: 339.7 kB / 0.5789 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004575/0.404, allocations: 2.118 MB / 0.581 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.404, allocations: 39.06 kB / 0.581 GB, free: 10.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.244e-06/0.404, allocations: 4 kB / 0.581 GB, free: 10.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005095/0.4091, allocations: 2.044 MB / 0.583 GB, free: 8.469 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.4091, allocations: 68 kB / 0.5831 GB, free: 8.391 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007503/0.4099, allocations: 0.5147 MB / 0.5836 GB, free: 7.863 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/0.41, allocations: 41.7 kB / 0.5837 GB, free: 7.816 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/0.4104, allocations: 0.5466 MB / 0.5842 GB, free: 7.262 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.4106, allocations: 269.7 kB / 0.5844 GB, free: 6.996 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.4109, allocations: 190.9 kB / 0.5846 GB, free: 6.805 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.4111, allocations: 378.8 kB / 0.585 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.4115, allocations: 238.2 kB / 0.5852 GB, free: 6.195 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000772/0.4123, allocations: 0.5564 MB / 0.5858 GB, free: 5.496 MB / 430.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: solid.temperature = solid.temperature_start (gas.temperature_start = solid.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006714/0.419, allocations: 2.035 MB / 0.5877 GB, free: 3.316 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.419, allocations: 4 kB / 0.5877 GB, free: 3.312 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001955/0.421, allocations: 0.9548 MB / 0.5887 GB, free: 2.348 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.421, allocations: 12 kB / 0.5887 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.421, allocations: 12.12 kB / 0.5887 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/0.4213, allocations: 80.8 kB / 0.5888 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007692/0.4221, allocations: 235.6 kB / 0.589 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.4241, allocations: 1.631 MB / 0.5906 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005514/0.4247, allocations: 32 kB / 0.5906 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-05/0.4247, allocations: 55.98 kB / 0.5907 GB, free: 184 kB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: solid.temperature = solid.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004964/0.4252, allocations: 257.5 kB / 0.5909 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.4254, allocations: 79.47 kB / 0.591 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.4274, allocations: 0.838 MB / 0.5918 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.4274, allocations: 8 kB / 0.5918 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4274, allocations: 0 / 0.5918 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.4274, allocations: 3.984 kB / 0.5918 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.4305, allocations: 1.726 MB / 0.5935 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.4305, allocations: 12.25 kB / 0.5935 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006813/0.4312, allocations: 179.8 kB / 0.5937 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002337/0.4314, allocations: 68.98 kB / 0.5938 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-05/0.4315, allocations: 35.98 kB / 0.5938 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.4331, allocations: 1.604 MB / 0.5954 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4331, allocations: 0 / 0.5954 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.4351, allocations: 1.186 MB / 0.5965 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.4352, allocations: 75.52 kB / 0.5966 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.4353, allocations: 16 kB / 0.5966 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.4357, allocations: 19.98 kB / 0.5966 GB, free: 9.805 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.4358, allocations: 80.42 kB / 0.5967 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.567e-05/0.4359, allocations: 35.98 kB / 0.5967 GB, free: 9.691 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004323/0.4363, allocations: 350.8 kB / 0.5971 GB, free: 9.352 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4363, allocations: 0 / 0.5971 GB, free: 9.352 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001322/0.4376, allocations: 451 kB / 0.5975 GB, free: 8.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (H2O_gaseuous.logn,otherSubstances.logn,H2O_solid.molarEnthalpy,H2O_solid.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003163/0.4408, allocations: 2.143 MB / 0.5996 GB, free: 6.699 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.4423, allocations: 0.7782 MB / 0.6004 GB, free: 5.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4423, allocations: 0 / 0.6004 GB, free: 5.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006919/0.443, allocations: 454.7 kB / 0.6008 GB, free: 5.453 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009336/0.4439, allocations: 188.2 kB / 0.601 GB, free: 5.273 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009877/0.4538, allocations: 6.754 MB / 0.6076 GB, free: 14.08 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006915/0.4545, allocations: 1.009 MB / 0.6086 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006534/0.4551, allocations: 206 kB / 0.6088 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006339/0.4557, allocations: 439.2 kB / 0.6092 GB, free: 12.41 MB / 462.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4557, allocations: 0 / 0.6092 GB, free: 12.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05555/0.5113, allocations: 23.37 MB / 0.632 GB, free: 5.211 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/14.71, allocations: 11.44 kB / 0.632 GB, free: 5.203 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_WaterSublimation_fmu --startTime=0 --stopTime=49.7 --stepSize=0.01988 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_WaterSublimation.fmu > Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.680401385063305] Failed to read output from testmodel.py, exit status != 0: 14.894970195950009 14.925765796 14.539181988 Calling exit ...