Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001247/0.001247, allocations: 93.06 kB / 19.65 MB, free: 272 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.00132/0.00132, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9894/0.9894, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.09229/0.09229, allocations: 17.46 MB / 277.4 MB, free: 11.56 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.WaterVaporization") translateModel(Chemical.Obsolete.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterVaporization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 11.86 kB / 353.6 MB, free: 9.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.368e-05, allocations: 2.312 kB / 353.6 MB, free: 9.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.006171/0.006204, allocations: 6.381 MB / 359.9 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008533/0.01474, allocations: 9.248 MB / 369.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007243/0.01546, allocations: 15.88 kB / 369.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005869/0.01605, allocations: 245.8 kB / 369.4 MB, free: 9.887 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.0181, allocations: 0.9809 MB / 370.4 MB, free: 8.898 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.02058, allocations: 1.263 MB / 371.7 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.02215, allocations: 1.664 MB / 373.3 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009175/0.02307, allocations: 0.8268 MB / 374.2 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.02421, allocations: 1.104 MB / 375.3 MB, free: 4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007957/0.02501, allocations: 0.6937 MB / 376 MB, free: 3.301 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002291/0.02524, allocations: 152 kB / 376.1 MB, free: 3.152 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.02716, allocations: 0.8657 MB / 377 MB, free: 2.285 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.02742, allocations: 354.8 kB / 377.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004728/0.02789, allocations: 0.5457 MB / 377.9 MB, free: 1.391 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002738/0.03063, allocations: 2.109 MB / 380 MB, free: 15.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.03063, allocations: 3.984 kB / 380 MB, free: 15.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.03064, allocations: 3.938 kB / 380 MB, free: 15.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.064e-05/0.03067, allocations: 0 / 380 MB, free: 15.27 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.00211/0.03278, allocations: 1.782 MB / 381.8 MB, free: 13.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.03282, allocations: 12.03 kB / 381.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009054/0.03372, allocations: 0.5178 MB / 382.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007318/0.03446, allocations: 0.634 MB / 382.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/0.03451, allocations: 94.94 kB / 383 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.03464, allocations: 128.4 kB / 383.2 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.03592, allocations: 1.13 MB / 384.3 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.03594, allocations: 4.172 kB / 384.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.306e-05/0.03601, allocations: 59.88 kB / 384.4 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.03603, allocations: 31.98 kB / 384.4 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.03742, allocations: 1.08 MB / 385.5 MB, free: 9.672 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.004112/0.04153, allocations: 3.343 MB / 388.8 MB, free: 6.258 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.04282, allocations: 1.237 MB / 390 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.04319, allocations: 302.5 kB / 390.3 MB, free: 4.711 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002849/0.04604, allocations: 2.189 MB / 392.5 MB, free: 2.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.04607, allocations: 45.98 kB / 392.6 MB, free: 2.445 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000217/0.04629, allocations: 87.39 kB / 392.7 MB, free: 2.359 MB / 314.7 MB Notification: Performance of pre-optimization done (n=82): time 2.765e-06/0.04629, allocations: 4 kB / 392.7 MB, free: 2.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=100): time 0.008814/0.05511, allocations: 3.328 MB / 396 MB, free: 14.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.05515, allocations: 68.34 kB / 396.1 MB, free: 14.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005559/0.05571, allocations: 0.5929 MB / 396.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/0.05578, allocations: 41.7 kB / 396.7 MB, free: 14.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.0561, allocations: 0.6392 MB / 397.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.05635, allocations: 360.9 kB / 397.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.0566, allocations: 240.5 kB / 397.9 MB, free: 12.99 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.05682, allocations: 0.5664 MB / 398.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.05718, allocations: 230.4 kB / 398.7 MB, free: 12.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009027/0.05808, allocations: 0.7376 MB / 399.4 MB, free: 11.22 MB / 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.001752/0.05983, allocations: 1.558 MB / 401 MB, free: 9.441 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.05984, allocations: 4 kB / 401 MB, free: 9.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002829/0.06267, allocations: 1.417 MB / 402.4 MB, free: 8.008 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.0627, allocations: 15.94 kB / 402.4 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.06272, allocations: 12 kB / 402.5 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00283/0.06555, allocations: 0.6976 MB / 403.2 MB, free: 7.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.06616, allocations: 291.5 kB / 403.4 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004742/0.0709, allocations: 4.411 MB / 407.8 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/0.07147, allocations: 40 kB / 407.9 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.17e-05/0.07155, allocations: 67.98 kB / 408 MB, free: 2.234 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.000336/0.07189, allocations: 244.2 kB / 408.2 MB, free: 1.984 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.07203, allocations: 111.5 kB / 408.3 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/0.07499, allocations: 1.372 MB / 409.7 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.075, allocations: 16 kB / 409.7 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.07501, allocations: 0 / 409.7 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.07502, allocations: 7.969 kB / 409.7 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1558/0.2308, allocations: 2.184 MB / 411.9 MB, free: 56.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.2308, allocations: 2.844 kB / 411.9 MB, free: 56.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002797/0.2336, allocations: 194.4 kB / 412.1 MB, free: 56.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005112/0.2387, allocations: 0.8216 MB / 412.9 MB, free: 56.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002333/0.2389, allocations: 36.19 kB / 412.9 MB, free: 56.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005856/0.2448, allocations: 6.077 MB / 419 MB, free: 51.42 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.2448, allocations: 4 kB / 419 MB, free: 51.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005822/0.2506, allocations: 1.716 MB / 420.7 MB, free: 51.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/0.251, allocations: 81.81 kB / 420.8 MB, free: 51.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.2512, allocations: 23.27 kB / 420.8 MB, free: 51.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.2516, allocations: 24.94 kB / 420.9 MB, free: 51.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003463/0.252, allocations: 107.5 kB / 421 MB, free: 51.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.2521, allocations: 47.81 kB / 421 MB, free: 51.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005074/0.2526, allocations: 355.4 kB / 421.4 MB, free: 50.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.2526, allocations: 3.844 kB / 421.4 MB, free: 50.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002392/0.255, allocations: 496.2 kB / 421.8 MB, free: 50.89 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.001239/0.2562, allocations: 455.8 kB / 422.3 MB, free: 50.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002807/0.259, allocations: 1.187 MB / 423.5 MB, free: 50.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.259, allocations: 1.094 kB / 423.5 MB, free: 50.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001432/0.2605, allocations: 0.9909 MB / 424.5 MB, free: 49.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.2616, allocations: 232.4 kB / 424.7 MB, free: 49.86 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/0.2663, allocations: 2.005 MB / 426.7 MB, free: 48.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.2665, allocations: 216 kB / 426.9 MB, free: 48.83 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005986/0.2671, allocations: 231.3 kB / 427.1 MB, free: 48.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.2673, allocations: 159.7 kB / 427.3 MB, free: 48.74 MB / 330.7 MB Notification: Performance of SimCode: time 2.053e-06/0.2673, allocations: 0 / 427.3 MB, free: 48.74 MB / 330.7 MB Notification: Performance of Templates: time 0.01907/0.2864, allocations: 21.07 MB / 448.4 MB, free: 31.98 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.sim & ./Chemical_master_Chemical.Obsolete.Examples.WaterVaporization -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.011591446120292]