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/Chemical 1.4.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/Chemical 1.4.0-master/package.mo): time 0.08258/0.08258, allocations: 15.29 MB / 31.09 MB, free: 3.109 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 198.1 kB / 36.14 MB, free: 2.141 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 264 MB, free: 4.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009811/0.0009811, allocations: 110.1 kB / 318.4 MB, free: 3.445 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 52.42 kB / 382.7 MB, free: 48.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0905/0.09155, allocations: 53.62 MB / 436.3 MB, free: 1.047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.007387/0.09899, allocations: 7.389 MB / 443.7 MB, free: 9.613 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.1132, allocations: 14.47 MB / 458.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.1143, allocations: 31.81 kB / 458.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009179/0.1153, allocations: 298.2 kB / 458.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002689/0.118, allocations: 0.9624 MB / 459.5 MB, free: 9.797 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004629/0.1226, allocations: 1.725 MB / 461.2 MB, free: 8.062 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002089/0.1247, allocations: 1.536 MB / 462.7 MB, free: 6.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009283/0.1257, allocations: 0.8168 MB / 463.6 MB, free: 5.676 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007735/0.1265, allocations: 0.7478 MB / 464.3 MB, free: 4.926 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009159/0.1274, allocations: 0.8096 MB / 465.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.1276, allocations: 104 kB / 465.2 MB, free: 4.012 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003931/0.1315, allocations: 1.408 MB / 466.6 MB, free: 2.602 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002723/0.1318, allocations: 306.9 kB / 466.9 MB, free: 2.301 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006981/0.1325, allocations: 0.696 MB / 467.6 MB, free: 1.602 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005541/0.1381, allocations: 2.9 MB / 470.5 MB, free: 14.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1381, allocations: 0 / 470.5 MB, free: 14.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1381, allocations: 0 / 470.5 MB, free: 14.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.772e-05/0.1382, allocations: 0 / 470.5 MB, free: 14.69 MB / 346.7 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.003518/0.1417, allocations: 1.833 MB / 472.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.1418, allocations: 8.875 kB / 472.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.1431, allocations: 318.7 kB / 472.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.1442, allocations: 0.653 MB / 473.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.1443, allocations: 94.94 kB / 473.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.1445, allocations: 132.3 kB / 473.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/0.1471, allocations: 1.53 MB / 475.1 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.1471, allocations: 7.875 kB / 475.1 MB, free: 9.992 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.1472, allocations: 52 kB / 475.1 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.1473, allocations: 28 kB / 475.2 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/0.1498, allocations: 1.853 MB / 477 MB, free: 8.055 MB / 346.7 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.006307/0.1561, allocations: 4.647 MB / 481.7 MB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.1578, allocations: 1.341 MB / 483 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006625/0.1585, allocations: 0.5348 MB / 483.5 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005366/0.1639, allocations: 4.591 MB / 488.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.1639, allocations: 47.2 kB / 488.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002377/0.1642, allocations: 75.06 kB / 488.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 2.124e-06/0.1642, allocations: 0 / 488.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=100): time 0.01679/0.181, allocations: 4.292 MB / 492.5 MB, free: 7.719 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.1811, allocations: 60.41 kB / 492.6 MB, free: 7.648 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006226/0.1817, allocations: 0.586 MB / 493.2 MB, free: 7.055 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.794e-05/0.1818, allocations: 41.7 kB / 493.2 MB, free: 7.008 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.1821, allocations: 0.5762 MB / 493.8 MB, free: 6.422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.1823, allocations: 350.9 kB / 494.2 MB, free: 6.074 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/0.1826, allocations: 230.8 kB / 494.4 MB, free: 5.844 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1828, allocations: 398.7 kB / 494.8 MB, free: 5.445 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006306/0.1834, allocations: 414.4 kB / 495.2 MB, free: 5.039 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008116/0.1842, allocations: 0.7706 MB / 495.9 MB, free: 4.105 MB / 362.7 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.02299/0.2072, allocations: 4.454 MB / 0.4887 GB, free: 15.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.2073, allocations: 4 kB / 0.4887 GB, free: 15.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005178/0.2124, allocations: 1.751 MB / 0.4904 GB, free: 13.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.2125, allocations: 12 kB / 0.4904 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.2125, allocations: 15.98 kB / 0.4904 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003487/0.216, allocations: 473.7 kB / 0.4909 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008274/0.2168, allocations: 287.6 kB / 0.4911 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006126/0.223, allocations: 4.076 MB / 0.4951 GB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008175/0.2238, allocations: 79.92 kB / 0.4952 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.855e-05/0.2239, allocations: 67.98 kB / 0.4953 GB, free: 8.43 MB / 378.7 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.0004271/0.2243, allocations: 281.4 kB / 0.4955 GB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.2245, allocations: 82.97 kB / 0.4956 GB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00616/0.2307, allocations: 1.735 MB / 0.4973 GB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.2307, allocations: 12 kB / 0.4973 GB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.2307, allocations: 4 kB / 0.4973 GB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.2307, allocations: 3.984 kB / 0.4973 GB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007318/0.238, allocations: 2.93 MB / 0.5002 GB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/0.2381, allocations: 0 / 0.5002 GB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006891/0.2388, allocations: 196.1 kB / 0.5004 GB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004467/0.2433, allocations: 0.5291 MB / 0.5009 GB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.2434, allocations: 43.92 kB / 0.5009 GB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1804/0.4238, allocations: 5.235 MB / 0.506 GB, free: 69.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4238, allocations: 6.188 kB / 0.506 GB, free: 69.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08131/0.5051, allocations: 20.18 MB / 0.5257 GB, free: 62.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.5054, allocations: 153.9 kB / 0.5259 GB, free: 62.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.5056, allocations: 23 kB / 0.5259 GB, free: 62.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005393/0.5061, allocations: 45.41 kB / 0.526 GB, free: 62.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/0.5064, allocations: 102.6 kB / 0.5261 GB, free: 62.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/0.5065, allocations: 51.16 kB / 0.5261 GB, free: 62.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004153/0.5069, allocations: 389.2 kB / 0.5265 GB, free: 61.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5069, allocations: 0 / 0.5265 GB, free: 61.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002374/0.5093, allocations: 0.7589 MB / 0.5272 GB, free: 61.92 MB / 378.7 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 (99): * Single equations (assignments): 96 * 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.001115/0.5104, allocations: 0.6115 MB / 0.5278 GB, free: 61.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.5126, allocations: 1.412 MB / 0.5292 GB, free: 61.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5126, allocations: 0.5 kB / 0.5292 GB, free: 61.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.5138, allocations: 0.9944 MB / 0.5302 GB, free: 60.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.5149, allocations: 195 kB / 0.5304 GB, free: 60.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004465/0.5193, allocations: 3.809 MB / 0.5341 GB, free: 57.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.5198, allocations: 1.111 MB / 0.5352 GB, free: 56.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001056/0.5209, allocations: 237.3 kB / 0.5354 GB, free: 56.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.5212, allocations: 162.7 kB / 0.5355 GB, free: 56.46 MB / 378.7 MB Notification: Performance of SimCode: time 6.32e-07/0.5212, allocations: 0 / 0.5355 GB, free: 56.46 MB / 378.7 MB Notification: Performance of Templates: time 0.03304/0.5543, allocations: 29.18 MB / 0.564 GB, free: 29.67 MB / 378.7 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)