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) 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: translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 107.5 kB / 15.99 MB, free: 5.891 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.001754/0.001755, allocations: 189.7 kB / 16.91 MB, free: 5.746 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.405/1.405, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08771/0.08771, allocations: 15.31 MB / 306 MB, free: 15.67 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 64.23 kB / 370.5 MB, free: 51.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09566/0.09765, allocations: 53.61 MB / 424.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.006167/0.1039, allocations: 7.395 MB / 431.5 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01495/0.1188, allocations: 14.42 MB / 445.9 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.1203, allocations: 31.75 kB / 445.9 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.1216, allocations: 307.6 kB / 446.2 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003441/0.125, allocations: 0.99 MB / 447.2 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005593/0.1306, allocations: 1.749 MB / 449 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.1334, allocations: 1.599 MB / 450.6 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.1347, allocations: 0.9664 MB / 451.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.1358, allocations: 0.7946 MB / 452.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.1368, allocations: 0.8525 MB / 453.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002146/0.1371, allocations: 152 kB / 453.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004515/0.1416, allocations: 1.497 MB / 454.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003817/0.142, allocations: 346.9 kB / 455.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008955/0.1429, allocations: 0.7545 MB / 455.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003739/0.1467, allocations: 2.332 MB / 458.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1467, allocations: 0 / 458.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1467, allocations: 0 / 458.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.384e-05/0.1467, allocations: 0 / 458.3 MB, free: 12.41 MB / 334.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.003642/0.1504, allocations: 1.829 MB / 460.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1504, allocations: 12.03 kB / 460.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.1518, allocations: 314.7 kB / 460.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.1529, allocations: 0.6568 MB / 461.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.731e-05/0.153, allocations: 98.94 kB / 461.2 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.1532, allocations: 136.3 kB / 461.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002681/0.1559, allocations: 1.522 MB / 462.8 MB, free: 7.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.1559, allocations: 4 kB / 462.8 MB, free: 7.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.1561, allocations: 56 kB / 462.9 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.1561, allocations: 31.94 kB / 462.9 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003/0.1591, allocations: 1.853 MB / 464.8 MB, free: 5.773 MB / 334.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.007727/0.1669, allocations: 4.651 MB / 469.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/0.1691, allocations: 1.34 MB / 470.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008516/0.17, allocations: 0.5348 MB / 471.3 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006767/0.1768, allocations: 4.591 MB / 475.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.1769, allocations: 43.22 kB / 475.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004505/0.1773, allocations: 87.03 kB / 476 MB, free: 9.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 3.206e-06/0.1773, allocations: 0 / 476 MB, free: 9.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.02068/0.198, allocations: 4.323 MB / 480.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.1981, allocations: 68.39 kB / 480.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008686/0.199, allocations: 0.5822 MB / 481 MB, free: 4.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.1991, allocations: 41.7 kB / 481 MB, free: 4.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004543/0.1996, allocations: 0.5762 MB / 481.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/0.1999, allocations: 343 kB / 481.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003547/0.2003, allocations: 238.7 kB / 482.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.2005, allocations: 398.7 kB / 482.5 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007479/0.2012, allocations: 422.4 kB / 483 MB, free: 2.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.2023, allocations: 0.7745 MB / 483.7 MB, free: 1.754 MB / 350.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.02754/0.2299, allocations: 4.549 MB / 488.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.2299, allocations: 4 kB / 488.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006164/0.2361, allocations: 1.771 MB / 490.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.2362, allocations: 12 kB / 490.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.2362, allocations: 16.16 kB / 490.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004029/0.2402, allocations: 485.1 kB / 490.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.2414, allocations: 291.5 kB / 490.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007863/0.2492, allocations: 4.414 MB / 495.3 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.2503, allocations: 72.02 kB / 495.3 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.2505, allocations: 67.98 kB / 495.4 MB, free: 5.609 MB / 366.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.0005833/0.2511, allocations: 289.3 kB / 495.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.2513, allocations: 90.81 kB / 495.8 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007414/0.2587, allocations: 1.751 MB / 497.5 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.2587, allocations: 8 kB / 497.5 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.2588, allocations: 4 kB / 497.5 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-05/0.2588, allocations: 7.922 kB / 497.5 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009134/0.2679, allocations: 2.959 MB / 0.4888 GB, free: 376 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.268, allocations: 0 / 0.4888 GB, free: 376 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008143/0.2688, allocations: 199.8 kB / 0.4889 GB, free: 176 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005408/0.2742, allocations: 0.5405 MB / 0.4895 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/0.2744, allocations: 35.98 kB / 0.4895 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009342/0.2838, allocations: 5.682 MB / 0.4951 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.2838, allocations: 8.062 kB / 0.4951 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008144/0.292, allocations: 2.306 MB / 0.4973 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.2923, allocations: 156 kB / 0.4975 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.2925, allocations: 24 kB / 0.4975 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006014/0.2931, allocations: 47.83 kB / 0.4975 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/0.2934, allocations: 104.7 kB / 0.4976 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.2935, allocations: 47.98 kB / 0.4977 GB, free: 6.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005572/0.2941, allocations: 391.1 kB / 0.4981 GB, free: 6.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2941, allocations: 0 / 0.4981 GB, free: 6.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002086/0.2962, allocations: 0.5895 MB / 0.4986 GB, free: 5.754 MB / 382.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.001282/0.2975, allocations: 0.6308 MB / 0.4992 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003262/0.3007, allocations: 1.469 MB / 0.5007 GB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.3007, allocations: 3.938 kB / 0.5007 GB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.3023, allocations: 1.002 MB / 0.5017 GB, free: 2.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.3035, allocations: 221.7 kB / 0.5019 GB, free: 2.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1732/0.4768, allocations: 2.759 MB / 0.5046 GB, free: 81.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006562/0.4775, allocations: 1.071 MB / 0.5056 GB, free: 80.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005504/0.478, allocations: 210.2 kB / 0.5058 GB, free: 80.69 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.478, allocations: 0.9375 kB / 0.5058 GB, free: 80.69 MB / 382.1 MB Notification: Performance of Templates: time 0.03126/0.5093, allocations: 28.88 MB / 0.534 GB, free: 63.03 MB / 382.1 MB make -j1 -f Chemical_Chemical.Examples.WaterVaporization.makefile (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)