Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.WaterVaporization.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.002014/0.002014, allocations: 88.05 kB / 19.44 MB, free: 320 kB / 13.93 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.002149/0.002149, allocations: 173.3 kB / 22.77 MB, free: 1.641 MB / 18.57 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.603/1.603, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1663/0.1663, allocations: 17.37 MB / 276.9 MB, free: 11.68 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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: translateModel(Chemical.Obsolete.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.WaterVaporization") translateModel(Chemical.Obsolete.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.WaterVaporization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.374e-05/3.602e-05, allocations: 8.781 kB / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.01007/0.0101, allocations: 6.499 MB / 359.2 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0228/0.0329, allocations: 14.64 MB / 373.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.034, allocations: 23.81 kB / 373.9 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.0351, allocations: 305.4 kB / 374.2 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003907/0.03901, allocations: 1.144 MB / 375.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0063/0.04531, allocations: 2.061 MB / 377.4 MB, free: 1.559 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003211/0.04852, allocations: 1.657 MB / 379 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.04992, allocations: 0.8385 MB / 379.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.05159, allocations: 1.104 MB / 381 MB, free: 13.92 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.05279, allocations: 0.6859 MB / 381.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002676/0.05306, allocations: 152 kB / 381.8 MB, free: 13.08 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004262/0.05732, allocations: 1.403 MB / 383.2 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004287/0.05775, allocations: 354.8 kB / 383.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000883/0.05863, allocations: 0.5457 MB / 384.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009172/0.06781, allocations: 3.401 MB / 387.5 MB, free: 7.367 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.06781, allocations: 0 / 387.5 MB, free: 7.367 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.06781, allocations: 0 / 387.5 MB, free: 7.367 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.918e-05/0.06784, allocations: 4 kB / 387.5 MB, free: 7.363 MB / 314.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.004216/0.07206, allocations: 1.983 MB / 389.5 MB, free: 5.336 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.0721, allocations: 8.031 kB / 389.5 MB, free: 5.328 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.07379, allocations: 0.5142 MB / 390 MB, free: 4.812 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.07509, allocations: 0.634 MB / 390.6 MB, free: 4.148 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.993e-05/0.07519, allocations: 94.94 kB / 390.7 MB, free: 4.055 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002349/0.07543, allocations: 128.4 kB / 390.9 MB, free: 3.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003051/0.07848, allocations: 1.446 MB / 392.3 MB, free: 2.445 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.07851, allocations: 192 / 392.3 MB, free: 2.445 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.07866, allocations: 55.94 kB / 392.4 MB, free: 2.391 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/0.07869, allocations: 32 kB / 392.4 MB, free: 2.359 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003069/0.08176, allocations: 1.583 MB / 394 MB, free: 0.7695 MB / 314.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.00864/0.0904, allocations: 3.965 MB / 397.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002457/0.09286, allocations: 1.112 MB / 399 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007882/0.09365, allocations: 414.5 kB / 399.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006388/0.1, allocations: 2.599 MB / 402 MB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/0.1001, allocations: 49.97 kB / 402.1 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003924/0.1005, allocations: 87.38 kB / 402.2 MB, free: 8.438 MB / 330.7 MB Notification: Performance of pre-optimization done (n=82): time 3.496e-06/0.1005, allocations: 0 / 402.2 MB, free: 8.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=100): time 0.01988/0.1204, allocations: 3.848 MB / 406 MB, free: 4.543 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.1204, allocations: 68.28 kB / 406.1 MB, free: 4.465 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.1218, allocations: 0.7218 MB / 406.8 MB, free: 3.723 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.1219, allocations: 37.7 kB / 406.9 MB, free: 3.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006257/0.1226, allocations: 0.6705 MB / 407.5 MB, free: 3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004706/0.123, allocations: 380.9 kB / 407.9 MB, free: 2.625 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004395/0.1235, allocations: 272.5 kB / 408.2 MB, free: 2.352 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004431/0.1239, allocations: 0.6094 MB / 408.8 MB, free: 1.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007076/0.1246, allocations: 342.5 kB / 409.1 MB, free: 1.395 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.126, allocations: 0.886 MB / 410 MB, free: 284 kB / 330.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.1976/0.3235, allocations: 4.378 MB / 414.4 MB, free: 62.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.106e-06/0.3235, allocations: 3.062 kB / 414.4 MB, free: 62.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00611/0.3297, allocations: 1.699 MB / 416.1 MB, free: 62.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.3297, allocations: 10.3 kB / 416.1 MB, free: 62.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/0.3297, allocations: 14.03 kB / 416.1 MB, free: 62.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006159/0.3359, allocations: 0.7471 MB / 416.8 MB, free: 62.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.337, allocations: 291.8 kB / 417.1 MB, free: 62.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007008/0.344, allocations: 5.172 MB / 422.3 MB, free: 57.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.345, allocations: 44.14 kB / 422.3 MB, free: 57.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.3452, allocations: 69.97 kB / 422.4 MB, free: 57.95 MB / 330.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.0005445/0.3457, allocations: 325.4 kB / 422.7 MB, free: 57.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/0.346, allocations: 116.8 kB / 422.8 MB, free: 57.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006306/0.3523, allocations: 1.621 MB / 424.5 MB, free: 57.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.3523, allocations: 9.5 kB / 424.5 MB, free: 57.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.3523, allocations: 2.781 kB / 424.5 MB, free: 57.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-05/0.3523, allocations: 11.02 kB / 424.5 MB, free: 57.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007747/0.3601, allocations: 2.662 MB / 427.1 MB, free: 55.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.3601, allocations: 7.625 kB / 427.2 MB, free: 55.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000768/0.3608, allocations: 192.9 kB / 427.3 MB, free: 55.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007255/0.3681, allocations: 0.8757 MB / 428.2 MB, free: 55.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/0.3683, allocations: 35.98 kB / 428.3 MB, free: 55.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006569/0.3748, allocations: 6.854 MB / 435.1 MB, free: 47.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3748, allocations: 7.938 kB / 435.1 MB, free: 47.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006475/0.3813, allocations: 2.183 MB / 437.3 MB, free: 45.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.3816, allocations: 79.42 kB / 437.4 MB, free: 45.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.3817, allocations: 27.94 kB / 437.4 MB, free: 45.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/0.3822, allocations: 27.98 kB / 437.4 MB, free: 45.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/0.3824, allocations: 100.8 kB / 437.5 MB, free: 45.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.893e-05/0.3825, allocations: 47.98 kB / 437.6 MB, free: 45.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003857/0.3829, allocations: 427 kB / 438 MB, free: 45.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3829, allocations: 0 / 438 MB, free: 45.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001649/0.3845, allocations: 0.5995 MB / 438.6 MB, free: 44.52 MB / 330.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 (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.0009868/0.3855, allocations: 0.6582 MB / 439.3 MB, free: 44.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00195/0.3875, allocations: 1.435 MB / 440.7 MB, free: 42.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3875, allocations: 4 kB / 440.7 MB, free: 42.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.3885, allocations: 1.114 MB / 441.8 MB, free: 41.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.3895, allocations: 228.2 kB / 442 MB, free: 41.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.3923, allocations: 2.135 MB / 444.2 MB, free: 38.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.3926, allocations: 486.2 kB / 444.6 MB, free: 38.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000661/0.3933, allocations: 235.7 kB / 444.9 MB, free: 38.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.3936, allocations: 156.4 kB / 445 MB, free: 38.08 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.3936, allocations: 0 / 445 MB, free: 38.08 MB / 330.7 MB Notification: Performance of Templates: time 0.03054/0.4241, allocations: 23.81 MB / 468.8 MB, free: 14.49 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.WaterVaporization.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.WaterVaporization.sim & ./Chemical_Chemical.Obsolete.Examples.WaterVaporization -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 13.240576582960784]