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.0009692/0.0009692, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009985/0.0009985, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.014/1.014, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.03865/0.03865, allocations: 7.517 MB / 268.6 MB, free: 5.852 MB / 250.7 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 2.525e-06/2.525e-06, allocations: 0 / 339.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.051e-05/3.303e-05, allocations: 10.25 kB / 339.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.01965/0.01968, allocations: 17.79 MB / 357.6 MB, free: 9.93 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0158/0.03549, allocations: 16.79 MB / 374.4 MB, free: 9.082 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.0356, allocations: 0 / 374.4 MB, free: 9.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006857/0.03629, allocations: 246.6 kB / 374.7 MB, free: 8.84 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.0368, allocations: 222.6 kB / 374.9 MB, free: 8.621 MB / 346.7 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.01753/0.05433, allocations: 7.515 MB / 382.4 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.05474, allocations: 302.2 kB / 382.7 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.076e-05/0.05479, allocations: 9.797 kB / 382.7 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.05505, allocations: 175.5 kB / 382.9 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.458e-05/0.05513, allocations: 59.84 kB / 382.9 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.05515, allocations: 4 kB / 383 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01471/0.06985, allocations: 7.351 MB / 390.3 MB, free: 9.168 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.06989, allocations: 11.92 kB / 390.3 MB, free: 9.156 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004528/0.07035, allocations: 55.88 kB / 390.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.08116, allocations: 4.488 MB / 394.9 MB, free: 4.602 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.08117, allocations: 0 / 394.9 MB, free: 4.602 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.083e-06/0.08117, allocations: 4 kB / 394.9 MB, free: 4.598 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.08117, allocations: 0 / 394.9 MB, free: 4.598 MB / 362.7 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.002145/0.08332, allocations: 1.045 MB / 395.9 MB, free: 3.512 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.08336, allocations: 8.625 kB / 395.9 MB, free: 3.504 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.0834, allocations: 15.91 kB / 395.9 MB, free: 3.488 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.08351, allocations: 131.8 kB / 396.1 MB, free: 3.332 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.08352, allocations: 7.938 kB / 396.1 MB, free: 3.324 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.08353, allocations: 11.92 kB / 396.1 MB, free: 3.312 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.08369, allocations: 122.6 kB / 396.2 MB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.0837, allocations: 0 / 396.2 MB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.08371, allocations: 4 kB / 396.2 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.08372, allocations: 15.92 kB / 396.2 MB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.767e-05/0.08376, allocations: 35.84 kB / 396.3 MB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.08415, allocations: 0.4909 MB / 396.7 MB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.269e-05/0.08421, allocations: 51.09 kB / 396.8 MB, free: 2.535 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/0.08425, allocations: 35.67 kB / 396.8 MB, free: 2.496 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05242/0.1367, allocations: 19.96 MB / 416.8 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1367, allocations: 33.39 kB / 416.8 MB, free: 14.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 1.813e-06/0.1367, allocations: 0 / 416.8 MB, free: 14.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003159/0.137, allocations: 206 kB / 417 MB, free: 14.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.137, allocations: 55.41 kB / 417.1 MB, free: 14.17 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.1372, allocations: 181.8 kB / 417.3 MB, free: 13.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.1372, allocations: 25.7 kB / 417.3 MB, free: 13.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.1372, allocations: 143.8 kB / 417.4 MB, free: 13.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.287e-05/0.1373, allocations: 142.7 kB / 417.6 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.1374, allocations: 55.33 kB / 417.6 MB, free: 13.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1375, allocations: 0.5039 MB / 418.1 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-05/0.1376, allocations: 20 kB / 418.1 MB, free: 13.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.878e-05/0.1376, allocations: 75 kB / 418.2 MB, free: 12.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1377, allocations: 122.7 kB / 418.3 MB, free: 12.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1377, allocations: 0 / 418.3 MB, free: 12.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004478/0.1382, allocations: 161 kB / 418.5 MB, free: 12.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1382, allocations: 6.031 kB / 418.5 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.1382, allocations: 0 / 418.5 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1382, allocations: 4 kB / 418.5 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.479e-05/0.1383, allocations: 7.938 kB / 418.5 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1383, allocations: 7.938 kB / 418.5 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.1384, allocations: 23.89 kB / 418.5 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.1384, allocations: 8 kB / 418.5 MB, free: 12.62 MB / 394.7 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 8.928e-05/0.1385, allocations: 164.5 kB / 418.7 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.1385, allocations: 15.91 kB / 418.7 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.1388, allocations: 206.8 kB / 418.9 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.1388, allocations: 11.98 kB / 418.9 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1388, allocations: 0 / 418.9 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1388, allocations: 0 / 418.9 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.1389, allocations: 161 kB / 419.1 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.139, allocations: 4 kB / 419.1 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.139, allocations: 8 kB / 419.1 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.139, allocations: 0 / 419.1 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.139, allocations: 0 / 419.1 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.139, allocations: 0 / 419.1 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.139, allocations: 4 kB / 419.1 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.1405, allocations: 323.2 kB / 419.4 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.1405, allocations: 31.77 kB / 419.5 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.1405, allocations: 3.938 kB / 419.5 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.691e-05/0.1406, allocations: 7.984 kB / 419.5 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.1407, allocations: 8 kB / 419.5 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.1407, allocations: 3.984 kB / 419.5 MB, free: 11.63 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.497e-05/0.1407, allocations: 135.6 kB / 419.6 MB, free: 11.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1407, allocations: 0 / 419.6 MB, free: 11.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002253/0.143, allocations: 1.129 MB / 420.7 MB, free: 10.37 MB / 394.7 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.006224/0.1492, allocations: 1.89 MB / 422.6 MB, free: 8.465 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001945/0.1511, allocations: 137.4 kB / 422.8 MB, free: 8.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1511, allocations: 0 / 422.8 MB, free: 8.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.569e-05/0.1512, allocations: 93.28 kB / 422.9 MB, free: 8.219 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.1519, allocations: 156 kB / 423 MB, free: 8.066 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007203/0.1526, allocations: 311.6 kB / 423.3 MB, free: 7.727 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.578e-05/0.1527, allocations: 84.19 kB / 423.4 MB, free: 7.621 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.259e-05/0.1527, allocations: 11.98 kB / 423.4 MB, free: 7.609 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.153, allocations: 170.1 kB / 423.6 MB, free: 7.441 MB / 394.7 MB Notification: Performance of SimCode: time 6.42e-07/0.153, allocations: 0 / 423.6 MB, free: 7.441 MB / 394.7 MB Notification: Performance of Templates: time 0.1709/0.3239, allocations: 37.03 MB / 460.6 MB, free: 113.3 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.316969844978303]