Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.WaterSublimation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008239/0.008239, allocations: 102.3 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 190.7 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07967/0.07967, allocations: 15.31 MB / 305.8 MB, free: 15.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 424.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09567/0.09696, allocations: 53.62 MB / 478.3 MB, free: 6.27 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.WaterSublimation): time 0.0357/0.1327, allocations: 25.46 MB / 0.4919 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.1472, allocations: 12.28 MB / 0.5039 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007779/0.148, allocations: 11.94 kB / 0.5039 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007864/0.1488, allocations: 281.8 kB / 0.5042 GB, free: 280 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2418/0.3906, allocations: 1.051 MB / 0.5052 GB, free: 18.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005407/0.3961, allocations: 1.55 MB / 0.5068 GB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002241/0.3983, allocations: 1.404 MB / 0.5081 GB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.3995, allocations: 0.8392 MB / 0.5089 GB, free: 17.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009795/0.4005, allocations: 0.6768 MB / 0.5096 GB, free: 17.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.4016, allocations: 0.7255 MB / 0.5103 GB, free: 17.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002637/0.4019, allocations: 126.9 kB / 0.5104 GB, free: 17.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005228/0.4071, allocations: 1.185 MB / 0.5116 GB, free: 17.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00041/0.4076, allocations: 291.8 kB / 0.5119 GB, free: 17.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.4089, allocations: 0.656 MB / 0.5125 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006859/0.4158, allocations: 2.615 MB / 0.5151 GB, free: 17.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.4158, allocations: 0.6875 kB / 0.5151 GB, free: 17.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4158, allocations: 0 / 0.5151 GB, free: 17.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.578e-05/0.4159, allocations: 3.938 kB / 0.5151 GB, free: 17.11 MB / 382.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.003153/0.419, allocations: 1.617 MB / 0.5166 GB, free: 16.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.4191, allocations: 9.625 kB / 0.5167 GB, free: 16.1 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001755/0.4192, allocations: 170.8 kB / 0.5168 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.4203, allocations: 255 kB / 0.5171 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009275/0.4213, allocations: 0.6157 MB / 0.5177 GB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.807e-05/0.4213, allocations: 84.8 kB / 0.5177 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.4215, allocations: 119.1 kB / 0.5179 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.4235, allocations: 1.201 MB / 0.519 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.4235, allocations: 1.656 kB / 0.519 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.947e-05/0.4236, allocations: 44.75 kB / 0.5191 GB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/0.4237, allocations: 28.25 kB / 0.5191 GB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.426, allocations: 1.335 MB / 0.5204 GB, free: 14.47 MB / 382.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.005758/0.4318, allocations: 4.018 MB / 0.5243 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.4333, allocations: 0.9747 MB / 0.5253 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006181/0.434, allocations: 389.8 kB / 0.5257 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004539/0.4385, allocations: 3.969 MB / 0.5295 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.4386, allocations: 38.12 kB / 0.5296 GB, free: 8.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.274e-06/0.4386, allocations: 0 / 0.5296 GB, free: 8.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.004738/0.4433, allocations: 2.096 MB / 0.5316 GB, free: 7.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.4434, allocations: 60.55 kB / 0.5317 GB, free: 7.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005549/0.4439, allocations: 0.5271 MB / 0.5322 GB, free: 6.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.444, allocations: 40.45 kB / 0.5322 GB, free: 6.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.4442, allocations: 0.5308 MB / 0.5327 GB, free: 6.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.4443, allocations: 256.4 kB / 0.533 GB, free: 6.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.4446, allocations: 186.7 kB / 0.5332 GB, free: 5.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.172e-05/0.4447, allocations: 385 kB / 0.5335 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.445, allocations: 233.5 kB / 0.5338 GB, free: 5.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/0.4456, allocations: 0.5462 MB / 0.5343 GB, free: 4.969 MB / 382.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.005735/0.4513, allocations: 2.129 MB / 0.5364 GB, free: 3.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.4513, allocations: 2.938 kB / 0.5364 GB, free: 3.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001489/0.4528, allocations: 0.9597 MB / 0.5373 GB, free: 3.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4529, allocations: 8.688 kB / 0.5373 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.4529, allocations: 9.812 kB / 0.5373 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002332/0.4531, allocations: 76.62 kB / 0.5374 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006536/0.4538, allocations: 234 kB / 0.5376 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.455, allocations: 1.719 MB / 0.5393 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/0.4556, allocations: 35.58 kB / 0.5393 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.871e-05/0.4557, allocations: 54.81 kB / 0.5394 GB, free: 1.492 MB / 382.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.0003771/0.4561, allocations: 259.9 kB / 0.5396 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.4562, allocations: 77.91 kB / 0.5397 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.4577, allocations: 0.8434 MB / 0.5405 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.4577, allocations: 14.62 kB / 0.5405 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4577, allocations: 0 / 0.5405 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.4577, allocations: 3.984 kB / 0.5405 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.4603, allocations: 1.748 MB / 0.5423 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.4604, allocations: 4 kB / 0.5423 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00064/0.461, allocations: 179.8 kB / 0.5424 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001985/0.4612, allocations: 77.98 kB / 0.5425 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-05/0.4613, allocations: 27.94 kB / 0.5425 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.4627, allocations: 1.708 MB / 0.5442 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4627, allocations: 0 / 0.5442 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.4646, allocations: 1.175 MB / 0.5453 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.4648, allocations: 144.2 kB / 0.5455 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.755e-05/0.4649, allocations: 20 kB / 0.5455 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.4652, allocations: 22.61 kB / 0.5455 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.4654, allocations: 72.45 kB / 0.5456 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/0.4654, allocations: 35.98 kB / 0.5456 GB, free: 10.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003846/0.4658, allocations: 353.5 kB / 0.546 GB, free: 10.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4658, allocations: 0 / 0.546 GB, free: 10.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001714/0.4675, allocations: 447.7 kB / 0.5464 GB, free: 10.16 MB / 398.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.003208/0.4708, allocations: 2.134 MB / 0.5485 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.4722, allocations: 0.8222 MB / 0.5493 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.4722, allocations: 0 / 0.5493 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006267/0.4728, allocations: 484.8 kB / 0.5497 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.4739, allocations: 184 kB / 0.5499 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009525/0.4834, allocations: 6.707 MB / 0.5565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/0.4841, allocations: 1.01 MB / 0.5575 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006911/0.4848, allocations: 200.7 kB / 0.5576 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005745/0.4854, allocations: 440.7 kB / 0.5581 GB, free: 13.96 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4854, allocations: 0 / 0.5581 GB, free: 13.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04825/0.5336, allocations: 22.28 MB / 0.5798 GB, free: 8.469 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.19, allocations: 0 / 0.5798 GB, free: 8.469 MB / 430.1 MB (rm -f Chemical_Chemical.Examples.WaterSublimation.pipe ; mkfifo Chemical_Chemical.Examples.WaterSublimation.pipe ; head -c 1048576 < Chemical_Chemical.Examples.WaterSublimation.pipe >> ../files/Chemical_Chemical.Examples.WaterSublimation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_WaterSublimation_fmu --startTime=0 --stopTime=49.7 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_WaterSublimation.fmu > Chemical_Chemical.Examples.WaterSublimation.pipe 2>&1)