Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.WaterVaporization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1039/0.1039, allocations: 15.55 MB / 320 MB, free: 13.14 MB / 254.1 MB " [Timeout remaining time 180] 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: translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 65.2 kB / 448.2 MB, free: 46.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1347, allocations: 56.56 MB / 0.493 GB, free: 19 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.007561/0.1423, allocations: 6.605 MB / 0.4994 GB, free: 13.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01515/0.1574, allocations: 14.66 MB / 0.5137 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.1591, allocations: 15.88 kB / 0.5137 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.1602, allocations: 345.3 kB / 0.5141 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004429/0.1646, allocations: 1.113 MB / 0.5152 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007456/0.1721, allocations: 1.969 MB / 0.5171 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003303/0.1754, allocations: 1.603 MB / 0.5186 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.1768, allocations: 0.8102 MB / 0.5194 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.1779, allocations: 0.7597 MB / 0.5202 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.1792, allocations: 0.8407 MB / 0.521 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002233/0.1794, allocations: 152 kB / 0.5211 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005939/0.1853, allocations: 1.482 MB / 0.5226 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004505/0.1858, allocations: 347 kB / 0.5229 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.1869, allocations: 0.7506 MB / 0.5236 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009899/0.1968, allocations: 3.12 MB / 0.5267 GB, free: 2.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.1968, allocations: 0 / 0.5267 GB, free: 2.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.1968, allocations: 0 / 0.5267 GB, free: 2.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.251e-05/0.1968, allocations: 0 / 0.5267 GB, free: 2.438 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: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.004181/0.201, allocations: 1.884 MB / 0.5285 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.2011, allocations: 12.03 kB / 0.5285 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.2024, allocations: 319.7 kB / 0.5289 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.2037, allocations: 0.6846 MB / 0.5295 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.2038, allocations: 94.94 kB / 0.5296 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002427/0.2041, allocations: 128.4 kB / 0.5297 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/0.2069, allocations: 1.526 MB / 0.5312 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/0.2069, allocations: 0 / 0.5312 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.2071, allocations: 59.94 kB / 0.5313 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/0.2071, allocations: 36 kB / 0.5313 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003077/0.2102, allocations: 1.857 MB / 0.5331 GB, free: 11.71 MB / 398.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.007819/0.218, allocations: 4.645 MB / 0.5377 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.22, allocations: 1.261 MB / 0.5389 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008031/0.2208, allocations: 487.7 kB / 0.5394 GB, free: 5.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006877/0.2277, allocations: 4.588 MB / 0.5438 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.2278, allocations: 35.22 kB / 0.5439 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004386/0.2282, allocations: 91.34 kB / 0.544 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 3.587e-06/0.2282, allocations: 0 / 0.544 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.01996/0.2482, allocations: 4.337 MB / 0.5482 GB, free: 11.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.2482, allocations: 64.41 kB / 0.5483 GB, free: 11.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009148/0.2492, allocations: 0.5861 MB / 0.5488 GB, free: 10.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-05/0.2492, allocations: 37.7 kB / 0.5489 GB, free: 10.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004807/0.2497, allocations: 0.5976 MB / 0.5495 GB, free: 10.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/0.2501, allocations: 364.9 kB / 0.5498 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003779/0.2504, allocations: 238.8 kB / 0.55 GB, free: 9.555 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.2507, allocations: 394.7 kB / 0.5504 GB, free: 9.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007104/0.2514, allocations: 418.4 kB / 0.5508 GB, free: 8.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.2524, allocations: 0.7784 MB / 0.5516 GB, free: 7.809 MB / 414.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: gas.temperature = gas.temperature_start (liquid.temperature_start = gas.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02576/0.2782, allocations: 4.541 MB / 0.556 GB, free: 3.086 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.2782, allocations: 4 kB / 0.556 GB, free: 3.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005878/0.2841, allocations: 1.782 MB / 0.5577 GB, free: 1.289 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.2841, allocations: 12 kB / 0.5578 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.2841, allocations: 12.84 kB / 0.5578 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003809/0.2879, allocations: 477.1 kB / 0.5582 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.2889, allocations: 287.6 kB / 0.5585 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007534/0.2965, allocations: 4.395 MB / 0.5628 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009586/0.2974, allocations: 40 kB / 0.5628 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.2976, allocations: 71.97 kB / 0.5629 GB, free: 11.72 MB / 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: gas.temperature = gas.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (143): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005993/0.2982, allocations: 283.2 kB / 0.5632 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/0.2984, allocations: 95.39 kB / 0.5633 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006777/0.3052, allocations: 1.747 MB / 0.565 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.3052, allocations: 12 kB / 0.565 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3052, allocations: 0 / 0.565 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.3052, allocations: 11.92 kB / 0.565 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008574/0.3138, allocations: 2.94 MB / 0.5679 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.3138, allocations: 4 kB / 0.5679 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007086/0.3145, allocations: 195.8 kB / 0.568 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004931/0.3194, allocations: 0.5295 MB / 0.5686 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/0.3196, allocations: 39.98 kB / 0.5686 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008502/0.3281, allocations: 5.691 MB / 0.5742 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3281, allocations: 0 / 0.5742 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007508/0.3356, allocations: 2.316 MB / 0.5764 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.336, allocations: 164.5 kB / 0.5766 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.3361, allocations: 23.98 kB / 0.5766 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005138/0.3366, allocations: 24 kB / 0.5766 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/0.3369, allocations: 104.7 kB / 0.5767 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-05/0.337, allocations: 47.92 kB / 0.5768 GB, free: 12.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005614/0.3376, allocations: 395 kB / 0.5771 GB, free: 12.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3376, allocations: 0 / 0.5771 GB, free: 12.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002098/0.3397, allocations: 0.5963 MB / 0.5777 GB, free: 11.88 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,liquidWater.amountOfBonds,liquidWater.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 (100): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001327/0.341, allocations: 0.6272 MB / 0.5783 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002739/0.3438, allocations: 1.383 MB / 0.5797 GB, free: 9.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3438, allocations: 4 kB / 0.5797 GB, free: 9.836 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.3453, allocations: 0.9474 MB / 0.5806 GB, free: 8.852 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.3464, allocations: 213.8 kB / 0.5808 GB, free: 8.648 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/0.3507, allocations: 2.232 MB / 0.583 GB, free: 6.352 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008492/0.3515, allocations: 1.073 MB / 0.5841 GB, free: 5.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008915/0.3524, allocations: 231.2 kB / 0.5843 GB, free: 5.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.3528, allocations: 159.3 kB / 0.5844 GB, free: 4.863 MB / 446.1 MB Notification: Performance of SimCode: time 2.154e-06/0.3528, allocations: 0 / 0.5844 GB, free: 4.863 MB / 446.1 MB Notification: Performance of Templates: time 0.3684/0.7211, allocations: 23.72 MB / 0.6076 GB, free: 101.4 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.WaterVaporization.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.WaterVaporization.pipe ; mkfifo Chemical_Chemical.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_Chemical.Examples.WaterVaporization.pipe >> ../files/Chemical_Chemical.Examples.WaterVaporization.sim & ./Chemical_Chemical.Examples.WaterVaporization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.WaterVaporization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.17370318621397]