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.001465/0.001465, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001617/0.001617, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.1506/0.1506, allocations: 23.99 MB / 337.2 MB, free: 10.85 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 67.89 kB / 472.5 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3387, allocations: 59.89 MB / 0.5199 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.006836/0.3455, allocations: 5.866 MB / 0.5257 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01669/0.3622, allocations: 12.92 MB / 0.5383 GB, free: 13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.3635, allocations: 24.81 kB / 0.5383 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.365, allocations: 313.9 kB / 0.5386 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004252/0.3693, allocations: 1.094 MB / 0.5397 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006597/0.3758, allocations: 2.009 MB / 0.5416 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002823/0.3787, allocations: 1.606 MB / 0.5432 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.3799, allocations: 0.801 MB / 0.544 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.381, allocations: 0.7717 MB / 0.5448 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.3822, allocations: 0.7444 MB / 0.5455 GB, free: 9.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.3825, allocations: 149.2 kB / 0.5456 GB, free: 9.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004735/0.3872, allocations: 1.396 MB / 0.547 GB, free: 8.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004104/0.3876, allocations: 351.4 kB / 0.5473 GB, free: 8.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008359/0.3884, allocations: 0.6217 MB / 0.5479 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007512/0.3959, allocations: 3.223 MB / 0.5511 GB, free: 6.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3959, allocations: 3.938 kB / 0.5511 GB, free: 6.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.396, allocations: 0 / 0.5511 GB, free: 6.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.694e-05/0.396, allocations: 4 kB / 0.5511 GB, free: 6.414 MB / 398.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.003839/0.3998, allocations: 1.799 MB / 0.5528 GB, free: 5.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3999, allocations: 9.062 kB / 0.5528 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.4012, allocations: 321.9 kB / 0.5532 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.4026, allocations: 0.6165 MB / 0.5538 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.629e-05/0.4027, allocations: 99.84 kB / 0.5539 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.4029, allocations: 140.3 kB / 0.554 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/0.4054, allocations: 1.543 MB / 0.5555 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.4054, allocations: 1.375 kB / 0.5555 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.4055, allocations: 49.62 kB / 0.5555 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.4055, allocations: 31.62 kB / 0.5556 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002877/0.4084, allocations: 1.854 MB / 0.5574 GB, free: 2.621 MB / 398.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.007166/0.4156, allocations: 3.53 MB / 0.5608 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.4176, allocations: 1.266 MB / 0.5621 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007695/0.4184, allocations: 499.6 kB / 0.5625 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0058/0.4242, allocations: 2.61 MB / 0.5651 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.4242, allocations: 43.16 kB / 0.5651 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004197/0.4247, allocations: 87.39 kB / 0.5652 GB, free: 10.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 4.328e-06/0.4247, allocations: 4 kB / 0.5652 GB, free: 10.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.01866/0.4433, allocations: 4.21 MB / 0.5693 GB, free: 6.676 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.4434, allocations: 68.34 kB / 0.5694 GB, free: 6.594 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007798/0.4442, allocations: 0.5505 MB / 0.5699 GB, free: 6.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.4443, allocations: 45.7 kB / 0.57 GB, free: 5.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/0.4447, allocations: 0.5936 MB / 0.5706 GB, free: 5.379 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003437/0.4451, allocations: 360.9 kB / 0.5709 GB, free: 5.023 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003507/0.4454, allocations: 238.8 kB / 0.5711 GB, free: 4.785 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002493/0.4457, allocations: 394.7 kB / 0.5715 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007574/0.4464, allocations: 422.4 kB / 0.5719 GB, free: 3.977 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.4476, allocations: 0.7823 MB / 0.5727 GB, free: 3.031 MB / 414.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.02456/0.4721, allocations: 4.496 MB / 0.5771 GB, free: 14.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.4721, allocations: 4 kB / 0.5771 GB, free: 14.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005725/0.4779, allocations: 1.775 MB / 0.5788 GB, free: 12.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.4779, allocations: 15.94 kB / 0.5788 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.4779, allocations: 15.94 kB / 0.5788 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003613/0.4815, allocations: 477.1 kB / 0.5793 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.4825, allocations: 287.6 kB / 0.5796 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007249/0.4898, allocations: 4.108 MB / 0.5836 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009264/0.4907, allocations: 43.98 kB / 0.5836 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.4908, allocations: 63.98 kB / 0.5837 GB, free: 7.375 MB / 430.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.0005555/0.4914, allocations: 280.3 kB / 0.5839 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.4916, allocations: 91.42 kB / 0.584 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006517/0.4981, allocations: 1.754 MB / 0.5857 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.4981, allocations: 8 kB / 0.5857 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.4981, allocations: 4 kB / 0.5858 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.4982, allocations: 3.984 kB / 0.5858 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00798/0.5061, allocations: 2.609 MB / 0.5883 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.5062, allocations: 4 kB / 0.5883 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007406/0.5069, allocations: 199.8 kB / 0.5885 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004578/0.5115, allocations: 0.5486 MB / 0.589 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.5116, allocations: 35.98 kB / 0.5891 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008152/0.5198, allocations: 5.241 MB / 0.5942 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/0.5198, allocations: 7.938 kB / 0.5942 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007153/0.5269, allocations: 2.32 MB / 0.5965 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.5272, allocations: 83.41 kB / 0.5965 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.5273, allocations: 27.94 kB / 0.5966 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.5278, allocations: 27.94 kB / 0.5966 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/0.528, allocations: 104.8 kB / 0.5967 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.981e-05/0.5281, allocations: 47.98 kB / 0.5967 GB, free: 9.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000462/0.5286, allocations: 351.1 kB / 0.5971 GB, free: 9.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5286, allocations: 0 / 0.5971 GB, free: 9.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001927/0.5305, allocations: 0.6002 MB / 0.5977 GB, free: 8.578 MB / 446.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.00124/0.5318, allocations: 0.6457 MB / 0.5983 GB, free: 7.918 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002474/0.5343, allocations: 1.379 MB / 0.5996 GB, free: 6.516 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5343, allocations: 0 / 0.5996 GB, free: 6.516 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.5357, allocations: 0.963 MB / 0.6006 GB, free: 5.516 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.5368, allocations: 216.5 kB / 0.6008 GB, free: 5.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/0.5407, allocations: 2.274 MB / 0.603 GB, free: 2.977 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/0.5412, allocations: 486.2 kB / 0.6035 GB, free: 2.469 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004451/0.5417, allocations: 211.3 kB / 0.6037 GB, free: 2.262 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5417, allocations: 0 / 0.6037 GB, free: 2.262 MB / 446.1 MB Notification: Performance of Templates: time 0.03972/0.5814, allocations: 29.75 MB / 0.6327 GB, free: 4.57 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 25.294472344219685] Failed to read output from testmodel.py, exit status != 0: 0.5911858733743429 0.6055812100000001 0.20632540900000002 Calling exit ...