Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.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.001316/0.001316, 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.001556/0.001556, allocations: 217 kB / 22.25 MB, free: 4.852 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.801 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.05502/0.05502, allocations: 9.132 MB / 321.6 MB, free: 10.23 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.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState") translateModel(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 71.89 kB / 447 MB, free: 124 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.104, allocations: 54.94 MB / 0.4902 GB, free: 9.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.02163/0.1257, allocations: 16.3 MB / 0.5061 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2473/0.3729, allocations: 15.04 MB / 0.5208 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.3731, allocations: 0 / 0.5208 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000693/0.3738, allocations: 240.1 kB / 0.521 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005069/0.3743, allocations: 228.4 kB / 0.5212 GB, free: 7.473 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01935/0.3936, allocations: 7.408 MB / 0.5285 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004125/0.394, allocations: 296.9 kB / 0.5287 GB, free: 6.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.258e-05/0.3941, allocations: 8.016 kB / 0.5288 GB, free: 6.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.3943, allocations: 130.6 kB / 0.5289 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3944, allocations: 68.53 kB / 0.5289 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.3944, allocations: 4 kB / 0.5289 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01476/0.4092, allocations: 7.285 MB / 0.5361 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.942e-05/0.4092, allocations: 18.8 kB / 0.5361 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.4094, allocations: 69.78 kB / 0.5361 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009679/0.4191, allocations: 3.796 MB / 0.5398 GB, free: 4.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4191, allocations: 1.094 kB / 0.5399 GB, free: 4.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4191, allocations: 4 kB / 0.5399 GB, free: 4.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.4191, allocations: 0 / 0.5399 GB, free: 4.84 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.002428/0.4215, allocations: 0.9423 MB / 0.5408 GB, free: 4.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4216, allocations: 14.02 kB / 0.5408 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.4216, allocations: 15 kB / 0.5408 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.498e-05/0.4217, allocations: 123.3 kB / 0.5409 GB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.4217, allocations: 8.094 kB / 0.5409 GB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.4217, allocations: 7.375 kB / 0.5409 GB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.422, allocations: 168.2 kB / 0.5411 GB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.422, allocations: 4 kB / 0.5411 GB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.422, allocations: 1.219 kB / 0.5411 GB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.422, allocations: 10.84 kB / 0.5411 GB, free: 3.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.4223, allocations: 111.5 kB / 0.5412 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.4228, allocations: 472 kB / 0.5417 GB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.4229, allocations: 120 kB / 0.5418 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.4231, allocations: 106.9 kB / 0.5419 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1118/0.5349, allocations: 25.75 MB / 0.567 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.5349, allocations: 34.5 kB / 0.5671 GB, free: 15.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.525e-06/0.5349, allocations: 4 kB / 0.5671 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007563/0.5357, allocations: 370.6 kB / 0.5674 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.5357, allocations: 51.41 kB / 0.5675 GB, free: 15.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.5358, allocations: 137.6 kB / 0.5676 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.5359, allocations: 25.7 kB / 0.5676 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.5359, allocations: 89.09 kB / 0.5677 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.536, allocations: 138.2 kB / 0.5678 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.598e-05/0.5361, allocations: 41.7 kB / 0.5679 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5362, allocations: 330.8 kB / 0.5682 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.5364, allocations: 87.95 kB / 0.5683 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.5366, allocations: 130.4 kB / 0.5684 GB, free: 14.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.537, allocations: 238.2 kB / 0.5686 GB, free: 14.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.537, allocations: 0 / 0.5686 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000466/0.5375, allocations: 277 kB / 0.5689 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.5375, allocations: 7.984 kB / 0.5689 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.5375, allocations: 7.656 kB / 0.5689 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.5375, allocations: 0 / 0.5689 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.108e-05/0.5376, allocations: 11.94 kB / 0.5689 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.5376, allocations: 7.984 kB / 0.5689 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.5377, allocations: 23.72 kB / 0.569 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.5378, allocations: 4 kB / 0.569 GB, free: 13.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001186/0.5379, allocations: 126.6 kB / 0.5691 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.5379, allocations: 25.19 kB / 0.5691 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005775/0.5385, allocations: 306.8 kB / 0.5694 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.5385, allocations: 11.98 kB / 0.5694 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5385, allocations: 0 / 0.5694 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5385, allocations: 7.938 kB / 0.5694 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.5388, allocations: 194.9 kB / 0.5696 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5388, allocations: 0 / 0.5696 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.993e-05/0.5388, allocations: 8.078 kB / 0.5696 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.5388, allocations: 3.938 kB / 0.5696 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.5389, allocations: 4 kB / 0.5696 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5389, allocations: 0 / 0.5696 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5389, allocations: 0.6094 kB / 0.5696 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005019/0.5394, allocations: 382.7 kB / 0.57 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.5394, allocations: 31.83 kB / 0.57 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.5394, allocations: 0 / 0.57 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.5395, allocations: 7.984 kB / 0.57 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.5396, allocations: 4 kB / 0.57 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.5396, allocations: 3.984 kB / 0.57 GB, free: 12.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.243e-05/0.5397, allocations: 99.22 kB / 0.5701 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5397, allocations: 3.938 kB / 0.5701 GB, free: 12.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003284/0.5429, allocations: 1.125 MB / 0.5712 GB, free: 11.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.004212/0.5472, allocations: 1.686 MB / 0.5729 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004971/0.5476, allocations: 230.2 kB / 0.5731 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5477, allocations: 0 / 0.5731 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.5479, allocations: 133.6 kB / 0.5732 GB, free: 9.449 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008923/0.5488, allocations: 156.4 kB / 0.5734 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006087/0.5494, allocations: 354.8 kB / 0.5737 GB, free: 8.941 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.71e-05/0.5495, allocations: 111.8 kB / 0.5738 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.033e-05/0.5495, allocations: 8 kB / 0.5738 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.5496, allocations: 15.44 kB / 0.5738 GB, free: 8.793 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5496, allocations: 0 / 0.5738 GB, free: 8.793 MB / 414.1 MB Notification: Performance of Templates: time 0.04643/0.596, allocations: 30.54 MB / 0.6037 GB, free: 10.45 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.587278565391898] Failed to read output from testmodel.py, exit status != 0: 0.6039091292768717 0.623095665 0.199615327 Calling exit ...