Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.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.001631/0.001631, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002098/0.002098, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05377/0.05377, allocations: 9.136 MB / 321.6 MB, free: 10.21 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 63.91 kB / 447 MB, free: 96 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1173, allocations: 54.95 MB / 0.4902 GB, free: 9.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01714/0.1344, allocations: 12.15 MB / 0.502 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2604/0.3948, allocations: 15.61 MB / 0.5173 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.3951, allocations: 3.094 kB / 0.5173 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.3953, allocations: 51.06 kB / 0.5173 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.3954, allocations: 64.83 kB / 0.5174 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02062/0.416, allocations: 6.716 MB / 0.524 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.4164, allocations: 166.4 kB / 0.5241 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.266e-05/0.4164, allocations: 7.859 kB / 0.5241 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.4166, allocations: 71.91 kB / 0.5242 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.4167, allocations: 58.66 kB / 0.5243 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.4168, allocations: 8.094 kB / 0.5243 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02645/0.4432, allocations: 10.33 MB / 0.5343 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.296e-05/0.4433, allocations: 22.28 kB / 0.5344 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.4435, allocations: 53.53 kB / 0.5344 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02173/0.4652, allocations: 6.085 MB / 0.5404 GB, free: 3.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.4652, allocations: 0 / 0.5404 GB, free: 3.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.4652, allocations: 1.25 kB / 0.5404 GB, free: 3.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.4652, allocations: 0 / 0.5404 GB, free: 3.512 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.006098/0.4713, allocations: 1.309 MB / 0.5416 GB, free: 2.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.4714, allocations: 9.438 kB / 0.5417 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.4715, allocations: 26.77 kB / 0.5417 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.4718, allocations: 166.1 kB / 0.5418 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.4718, allocations: 8.906 kB / 0.5418 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.4719, allocations: 11.81 kB / 0.5419 GB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009029/0.4728, allocations: 329.8 kB / 0.5422 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.4728, allocations: 2.641 kB / 0.5422 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.4728, allocations: 7 kB / 0.5422 GB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.4728, allocations: 3.375 kB / 0.5422 GB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009484/0.4737, allocations: 308.9 kB / 0.5425 GB, free: 2.078 MB / 382.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.000742/0.4745, allocations: 0.7915 MB / 0.5433 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008491/0.4753, allocations: 282.6 kB / 0.5435 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.4756, allocations: 82.33 kB / 0.5436 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4782/0.9538, allocations: 122.7 MB / 0.6634 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/0.9538, allocations: 34.56 kB / 0.6635 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 2.304e-06/0.9538, allocations: 0 / 0.6635 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.002243/0.9561, allocations: 496.9 kB / 0.6639 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.798e-05/0.9561, allocations: 106.8 kB / 0.664 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.9563, allocations: 154.9 kB / 0.6642 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.9563, allocations: 29.95 kB / 0.6642 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.9564, allocations: 108 kB / 0.6643 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/0.9565, allocations: 49.14 kB / 0.6644 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-05/0.9565, allocations: 41.66 kB / 0.6644 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.9567, allocations: 322.8 kB / 0.6647 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.957, allocations: 63.78 kB / 0.6648 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.9572, allocations: 110.8 kB / 0.6649 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/0.9577, allocations: 174.7 kB / 0.665 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9577, allocations: 4 kB / 0.6651 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005746/0.9582, allocations: 205.3 kB / 0.6652 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.9583, allocations: 4 kB / 0.6653 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.9583, allocations: 8.156 kB / 0.6653 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.9583, allocations: 4 kB / 0.6653 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.9585, allocations: 56.72 kB / 0.6653 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.9586, allocations: 0 / 0.6653 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.9587, allocations: 29 kB / 0.6653 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.9588, allocations: 8 kB / 0.6654 GB, free: 8.578 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (state_ps.phase,state.phase,state_ph.phase,state_dT.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.9589, allocations: 121.8 kB / 0.6655 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.446e-05/0.959, allocations: 19.88 kB / 0.6655 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/0.9606, allocations: 1.189 MB / 0.6667 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.203e-05/0.9606, allocations: 20.38 kB / 0.6667 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.9606, allocations: 4 kB / 0.6667 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.9606, allocations: 0 / 0.6667 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00081/0.9614, allocations: 0.501 MB / 0.6672 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.9614, allocations: 0 / 0.6672 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.9616, allocations: 47.97 kB / 0.6672 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.9616, allocations: 0 / 0.6672 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.9616, allocations: 8 kB / 0.6672 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.9616, allocations: 0 / 0.6672 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.9616, allocations: 7.938 kB / 0.6672 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.9628, allocations: 0.8671 MB / 0.6681 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.963, allocations: 59.5 kB / 0.6681 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.963, allocations: 7.984 kB / 0.6681 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.9632, allocations: 16.59 kB / 0.6682 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.07e-05/0.9633, allocations: 23.84 kB / 0.6682 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.9633, allocations: 4 kB / 0.6682 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001136/0.9635, allocations: 119.3 kB / 0.6683 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9635, allocations: 0 / 0.6683 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006606/0.9701, allocations: 1.454 MB / 0.6697 GB, free: 4.062 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01017/0.9802, allocations: 1.711 MB / 0.6714 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008643/0.9811, allocations: 302.7 kB / 0.6717 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.9811, allocations: 448 / 0.6717 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000453/0.9816, allocations: 228.8 kB / 0.6719 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006853/0.9822, allocations: 48.06 kB / 0.6719 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.9834, allocations: 0.7616 MB / 0.6727 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.9836, allocations: 186.2 kB / 0.6729 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002144/0.9839, allocations: 118.3 kB / 0.673 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.718e-05/0.9839, allocations: 23.44 kB / 0.673 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.9839, allocations: 0 / 0.673 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of Templates: time 0.2893/1.273, allocations: 51.6 MB / 0.7234 GB, free: 199.1 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.82287342660129] Failed to read output from testmodel.py, exit status != 0: 1.28146543353796 1.2955499990000001 0.8272889489999999 Calling exit ...