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.001423/0.001423, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001746/0.001746, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.514/1.514, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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.1555/0.1555, allocations: 17.37 MB / 276.5 MB, free: 15.31 MB / 270.1 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 1.783e-06/1.783e-06, allocations: 0 / 411.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.971e-05/4.149e-05, allocations: 2.281 kB / 411.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.008636/0.008677, allocations: 5.856 MB / 417.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01939/0.02807, allocations: 12.92 MB / 430.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.0293, allocations: 23.81 kB / 430.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.03037, allocations: 317.4 kB / 431.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003641/0.03401, allocations: 1.132 MB / 432.2 MB, free: 124 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006238/0.04025, allocations: 2.061 MB / 434.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002997/0.04324, allocations: 1.671 MB / 435.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.04445, allocations: 0.7991 MB / 436.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.0459, allocations: 1.096 MB / 437.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.04702, allocations: 0.6547 MB / 438.5 MB, free: 9.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002557/0.04728, allocations: 155.9 kB / 438.6 MB, free: 9.645 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004848/0.05212, allocations: 1.407 MB / 440 MB, free: 8.234 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004309/0.05255, allocations: 350.8 kB / 440.4 MB, free: 7.891 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008934/0.05345, allocations: 0.534 MB / 440.9 MB, free: 7.355 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00821/0.06166, allocations: 3.394 MB / 444.3 MB, free: 3.949 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.06166, allocations: 0 / 444.3 MB, free: 3.949 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.06167, allocations: 0 / 444.3 MB, free: 3.949 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.398e-05/0.0617, allocations: 4 kB / 444.3 MB, free: 3.945 MB / 366.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.003943/0.06564, allocations: 1.785 MB / 446.1 MB, free: 2.121 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.06569, allocations: 16.03 kB / 446.1 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.06715, allocations: 315.5 kB / 446.4 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.06854, allocations: 0.6234 MB / 447 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.376e-05/0.06864, allocations: 98.94 kB / 447.1 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/0.06885, allocations: 128.4 kB / 447.3 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1782/0.2471, allocations: 1.534 MB / 448.8 MB, free: 45.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/0.2471, allocations: 3 kB / 448.8 MB, free: 45.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.2473, allocations: 51.22 kB / 448.8 MB, free: 45.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.2473, allocations: 30.69 kB / 448.9 MB, free: 45.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003349/0.2506, allocations: 1.86 MB / 450.7 MB, free: 44.99 MB / 366.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.006966/0.2576, allocations: 3.526 MB / 454.3 MB, free: 43.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.2595, allocations: 1.257 MB / 455.5 MB, free: 42.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007493/0.2602, allocations: 490.1 kB / 456 MB, free: 42.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005591/0.2658, allocations: 2.628 MB / 458.6 MB, free: 41.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.2659, allocations: 43.47 kB / 458.7 MB, free: 41.51 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003558/0.2662, allocations: 84.22 kB / 458.7 MB, free: 41.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.946e-06/0.2662, allocations: 1.281 kB / 458.7 MB, free: 41.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.01902/0.2852, allocations: 4.205 MB / 463 MB, free: 40.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.2853, allocations: 67.08 kB / 463 MB, free: 39.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008153/0.2861, allocations: 0.5577 MB / 463.6 MB, free: 39.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.2862, allocations: 41.86 kB / 463.6 MB, free: 39.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/0.2865, allocations: 0.5913 MB / 464.2 MB, free: 39.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/0.2868, allocations: 366.1 kB / 464.6 MB, free: 39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003399/0.2872, allocations: 234.7 kB / 464.8 MB, free: 38.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2873, allocations: 386.7 kB / 465.2 MB, free: 38.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007033/0.288, allocations: 424.7 kB / 465.6 MB, free: 38.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009041/0.2889, allocations: 0.7868 MB / 466.4 MB, free: 37.79 MB / 366.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.02487/0.3138, allocations: 4.491 MB / 470.9 MB, free: 35.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.3138, allocations: 4 kB / 470.9 MB, free: 35.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005413/0.3192, allocations: 1.782 MB / 472.7 MB, free: 33.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.3192, allocations: 12.94 kB / 472.7 MB, free: 33.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.3192, allocations: 12 kB / 472.7 MB, free: 33.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003597/0.3228, allocations: 481.2 kB / 473.1 MB, free: 33.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008892/0.3237, allocations: 284.5 kB / 473.4 MB, free: 33.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005993/0.3297, allocations: 4.107 MB / 477.5 MB, free: 28.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009416/0.3307, allocations: 44.06 kB / 477.6 MB, free: 28.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.3308, allocations: 67.98 kB / 477.6 MB, free: 28.61 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.0004982/0.3313, allocations: 277.4 kB / 477.9 MB, free: 28.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.3314, allocations: 83.48 kB / 478 MB, free: 28.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006344/0.3378, allocations: 1.768 MB / 479.8 MB, free: 26.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.3378, allocations: 8.656 kB / 479.8 MB, free: 26.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3378, allocations: 4 kB / 479.8 MB, free: 26.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.3378, allocations: 7.969 kB / 479.8 MB, free: 26.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007166/0.345, allocations: 2.622 MB / 482.4 MB, free: 23.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.345, allocations: 0 / 482.4 MB, free: 23.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006547/0.3456, allocations: 199.7 kB / 482.6 MB, free: 23.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004713/0.3503, allocations: 0.5331 MB / 483.1 MB, free: 23.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.529e-05/0.3504, allocations: 39.92 kB / 483.2 MB, free: 23.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006505/0.3569, allocations: 5.236 MB / 488.4 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3569, allocations: 8.094 kB / 488.4 MB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006601/0.3635, allocations: 2.328 MB / 490.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.3638, allocations: 75.38 kB / 490.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.3639, allocations: 24 kB / 490.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005338/0.3644, allocations: 35.92 kB / 490.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/0.3647, allocations: 100.8 kB / 491 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.42e-05/0.3648, allocations: 47.97 kB / 491 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003564/0.3651, allocations: 351.1 kB / 491.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3651, allocations: 4 kB / 491.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001647/0.3668, allocations: 0.5924 MB / 492 MB, free: 13.87 MB / 366.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.001039/0.3678, allocations: 0.6515 MB / 492.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.3699, allocations: 1.395 MB / 494 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3699, allocations: 0 / 494 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.371, allocations: 0.9627 MB / 495 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000986/0.372, allocations: 204.6 kB / 495.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.375, allocations: 2.132 MB / 497.3 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.3754, allocations: 490.2 kB / 497.8 MB, free: 7.961 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000678/0.3761, allocations: 229 kB / 498 MB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/0.3763, allocations: 160.4 kB / 498.2 MB, free: 7.586 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3763, allocations: 11.77 kB / 498.2 MB, free: 7.578 MB / 366.1 MB Notification: Performance of Templates: time 0.03856/0.4149, allocations: 23.31 MB / 0.5093 GB, free: 488 kB / 382.1 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.53059870004654] Failed to read output from testmodel.py, exit status != 0: 0.42476099357008934 0.439749614 0.374877917 Calling exit ...