Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.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.001491/0.001491, allocations: 80.3 kB / 19.18 MB, free: 2.52 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.00164/0.00164, allocations: 161 kB / 22.45 MB, free: 5.375 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.366/1.366, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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.04796/0.04796, allocations: 7.514 MB / 266.7 MB, free: 9.633 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_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 392.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.248e-05, allocations: 2.281 kB / 392.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.02009/0.02011, allocations: 16.48 MB / 408.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.03739, allocations: 15.59 MB / 424.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.03753, allocations: 0 / 424.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006841/0.03821, allocations: 266.6 kB / 424.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004986/0.03871, allocations: 234.5 kB / 424.8 MB, free: 9.707 MB / 350.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.01656/0.05527, allocations: 7.736 MB / 432.5 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004709/0.05574, allocations: 369.9 kB / 432.9 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.569e-05/0.0558, allocations: 8.594 kB / 432.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004195/0.05622, allocations: 235.3 kB / 433.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.05637, allocations: 71.83 kB / 433.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.05639, allocations: 8 kB / 433.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01267/0.06906, allocations: 7.604 MB / 440.8 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.06911, allocations: 27.84 kB / 440.8 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.06923, allocations: 63.86 kB / 440.9 MB, free: 9.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007731/0.07696, allocations: 4.594 MB / 445.5 MB, free: 4.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.07696, allocations: 4 kB / 445.5 MB, free: 4.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.07696, allocations: 0 / 445.5 MB, free: 4.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.07697, allocations: 0 / 445.5 MB, free: 4.961 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002367/0.07934, allocations: 1.051 MB / 446.5 MB, free: 3.875 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.07938, allocations: 16.62 kB / 446.5 MB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.07954, allocations: 27.84 kB / 446.6 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.07976, allocations: 148.9 kB / 446.7 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.07977, allocations: 8 kB / 446.7 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.07979, allocations: 7.938 kB / 446.7 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.08019, allocations: 172.5 kB / 446.9 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.0802, allocations: 0 / 446.9 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.08021, allocations: 3.938 kB / 446.9 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.08023, allocations: 19.97 kB / 446.9 MB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/0.08067, allocations: 164.3 kB / 447.1 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002722/0.08094, allocations: 210.1 kB / 447.3 MB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.08129, allocations: 151 kB / 447.4 MB, free: 2.895 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.08158, allocations: 137.8 kB / 447.6 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2493/0.3309, allocations: 27.56 MB / 475.1 MB, free: 52.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.3309, allocations: 31.78 kB / 475.2 MB, free: 52.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.375e-06/0.3309, allocations: 0 / 475.2 MB, free: 52.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.0009243/0.3318, allocations: 0.4959 MB / 475.7 MB, free: 52.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.3318, allocations: 51.41 kB / 475.7 MB, free: 52.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/0.3319, allocations: 138.9 kB / 475.8 MB, free: 52.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.3319, allocations: 29.7 kB / 475.9 MB, free: 52.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/0.332, allocations: 93.12 kB / 476 MB, free: 52.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.872e-05/0.332, allocations: 152.2 kB / 476.1 MB, free: 51.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.3321, allocations: 49.69 kB / 476.2 MB, free: 51.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.3321, allocations: 326.8 kB / 476.5 MB, free: 51.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.3324, allocations: 120.4 kB / 476.6 MB, free: 51.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.3326, allocations: 133.5 kB / 476.7 MB, free: 51.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/0.333, allocations: 303.7 kB / 477 MB, free: 51.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.333, allocations: 0 / 477 MB, free: 51.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005227/0.3335, allocations: 350.3 kB / 477.4 MB, free: 50.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3336, allocations: 4 kB / 477.4 MB, free: 50.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3336, allocations: 1.562 kB / 477.4 MB, free: 50.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3336, allocations: 3.75 kB / 477.4 MB, free: 50.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.3337, allocations: 19.98 kB / 477.4 MB, free: 50.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.3337, allocations: 3.984 kB / 477.4 MB, free: 50.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.3339, allocations: 30.64 kB / 477.4 MB, free: 50.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.3339, allocations: 8 kB / 477.4 MB, free: 50.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 6 * 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 7.338e-05/0.334, allocations: 131.2 kB / 477.6 MB, free: 50.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.334, allocations: 19.86 kB / 477.6 MB, free: 50.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006593/0.3347, allocations: 421.6 kB / 478 MB, free: 50.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.3347, allocations: 11.98 kB / 478 MB, free: 50.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3347, allocations: 4 kB / 478 MB, free: 50.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3347, allocations: 0 / 478 MB, free: 50.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.3348, allocations: 215.3 kB / 478.2 MB, free: 49.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3348, allocations: 0 / 478.2 MB, free: 49.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.3349, allocations: 19.98 kB / 478.2 MB, free: 49.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3349, allocations: 0 / 478.2 MB, free: 49.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.335, allocations: 3.984 kB / 478.2 MB, free: 49.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.335, allocations: 7.938 kB / 478.3 MB, free: 49.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.335, allocations: 0 / 478.3 MB, free: 49.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.3355, allocations: 386.8 kB / 478.6 MB, free: 49.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.3355, allocations: 37.48 kB / 478.7 MB, free: 49.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.3356, allocations: 6.531 kB / 478.7 MB, free: 49.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.3357, allocations: 24.55 kB / 478.7 MB, free: 49.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.3358, allocations: 19.25 kB / 478.7 MB, free: 49.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.3358, allocations: 4 kB / 478.7 MB, free: 49.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.01e-05/0.3358, allocations: 114.5 kB / 478.8 MB, free: 49.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3358, allocations: 0 / 478.8 MB, free: 49.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00194/0.3377, allocations: 1.128 MB / 480 MB, free: 48.23 MB / 366.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: 6 (state.phase,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 (12): * Single equations (assignments): 6 * 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.003273/0.341, allocations: 1.852 MB / 481.8 MB, free: 46.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005293/0.3415, allocations: 283.8 kB / 482.1 MB, free: 46.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3415, allocations: 0 / 482.1 MB, free: 46.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.3418, allocations: 144.4 kB / 482.2 MB, free: 46.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/0.3426, allocations: 163.9 kB / 482.4 MB, free: 46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005928/0.3432, allocations: 420.6 kB / 482.8 MB, free: 45.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.547e-05/0.3433, allocations: 129.2 kB / 482.9 MB, free: 45.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.062e-05/0.3433, allocations: 11.02 kB / 482.9 MB, free: 45.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.3434, allocations: 28.48 kB / 483 MB, free: 45.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3434, allocations: 4 kB / 483 MB, free: 45.38 MB / 366.1 MB Notification: Performance of Templates: time 0.03181/0.3752, allocations: 31.29 MB / 0.5022 GB, free: 14.34 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.868700172752142] Failed to read output from testmodel.py, exit status != 0: 0.3827882446348667 0.39167331999999994 0.31244795999999997 Calling exit ...