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.001534/0.001534, allocations: 107.6 kB / 18.95 MB, free: 2.812 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.002144/0.002144, allocations: 213.5 kB / 22.24 MB, free: 5.105 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.828 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.05446/0.05446, allocations: 9.124 MB / 321.5 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.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 0.002033/0.002033, allocations: 67.89 kB / 447 MB, free: 108 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1322, allocations: 54.94 MB / 0.4902 GB, free: 9.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.02296/0.1552, allocations: 16.5 MB / 0.5063 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2542/0.4094, allocations: 15.56 MB / 0.5215 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.4096, allocations: 0 / 0.5215 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008354/0.4105, allocations: 264.4 kB / 0.5217 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005427/0.411, allocations: 236.3 kB / 0.522 GB, free: 7.52 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.02092/0.4319, allocations: 7.64 MB / 0.5294 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005671/0.4325, allocations: 352.4 kB / 0.5298 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.8e-05/0.4326, allocations: 14.8 kB / 0.5298 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00039/0.433, allocations: 174.3 kB / 0.5299 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.4331, allocations: 92.73 kB / 0.53 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.4331, allocations: 5.5 kB / 0.53 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01651/0.4497, allocations: 7.548 MB / 0.5374 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.436e-05/0.4497, allocations: 27.28 kB / 0.5374 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002892/0.45, allocations: 85.14 kB / 0.5375 GB, free: 5.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01208/0.4621, allocations: 3.868 MB / 0.5413 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.4621, allocations: 0 / 0.5413 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4621, allocations: 1.688 kB / 0.5413 GB, free: 4.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.4621, allocations: 3.375 kB / 0.5413 GB, free: 4.5 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.003993/0.4661, allocations: 1.06 MB / 0.5423 GB, free: 3.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.4662, allocations: 13.59 kB / 0.5423 GB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.4663, allocations: 30.59 kB / 0.5424 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.4666, allocations: 144.6 kB / 0.5425 GB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.4666, allocations: 5.312 kB / 0.5425 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.4666, allocations: 8.312 kB / 0.5425 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.467, allocations: 173.9 kB / 0.5427 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.467, allocations: 4 kB / 0.5427 GB, free: 3.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.467, allocations: 0 / 0.5427 GB, free: 3.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.467, allocations: 10.67 kB / 0.5427 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.4674, allocations: 160 kB / 0.5429 GB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/0.4677, allocations: 219.5 kB / 0.5431 GB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.468, allocations: 167.4 kB / 0.5432 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.4682, allocations: 134.6 kB / 0.5434 GB, free: 3.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1246/0.5928, allocations: 27.56 MB / 0.5703 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.5929, allocations: 38.5 kB / 0.5703 GB, free: 12.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 5.03e-06/0.5929, allocations: 4 kB / 0.5703 GB, free: 12.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.001203/0.5941, allocations: 491.7 kB / 0.5708 GB, free: 12.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.5942, allocations: 55.41 kB / 0.5708 GB, free: 12.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.5943, allocations: 144.2 kB / 0.571 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.5943, allocations: 25.7 kB / 0.571 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.5944, allocations: 89.14 kB / 0.5711 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.5946, allocations: 160 kB / 0.5712 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.069e-05/0.5947, allocations: 49.62 kB / 0.5713 GB, free: 11.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.5948, allocations: 330.8 kB / 0.5716 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.5951, allocations: 120.4 kB / 0.5717 GB, free: 11.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.5954, allocations: 126.1 kB / 0.5718 GB, free: 11.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006317/0.596, allocations: 303.6 kB / 0.5721 GB, free: 11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.596, allocations: 0 / 0.5721 GB, free: 11 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007319/0.5967, allocations: 341.8 kB / 0.5724 GB, free: 10.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.5968, allocations: 8 kB / 0.5724 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.5968, allocations: 3.938 kB / 0.5725 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.5968, allocations: 0 / 0.5725 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.5969, allocations: 24.58 kB / 0.5725 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.597, allocations: 0 / 0.5725 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.5971, allocations: 30.2 kB / 0.5725 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.5972, allocations: 4 kB / 0.5725 GB, free: 10.59 MB / 414.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 0.0001273/0.5973, allocations: 125.8 kB / 0.5726 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.5973, allocations: 23.86 kB / 0.5727 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008413/0.5982, allocations: 427.8 kB / 0.5731 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.5982, allocations: 11.98 kB / 0.5731 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.5982, allocations: 4.562 kB / 0.5731 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5982, allocations: 0 / 0.5731 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.5985, allocations: 222.1 kB / 0.5733 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5985, allocations: 0 / 0.5733 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.5986, allocations: 19.98 kB / 0.5733 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.5986, allocations: 0 / 0.5733 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.5986, allocations: 7.984 kB / 0.5733 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5986, allocations: 7.938 kB / 0.5733 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5986, allocations: 0 / 0.5733 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007877/0.5994, allocations: 390.2 kB / 0.5737 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.984e-05/0.5995, allocations: 33.09 kB / 0.5737 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.5996, allocations: 6.375 kB / 0.5737 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.5997, allocations: 23.91 kB / 0.5738 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.5998, allocations: 11.92 kB / 0.5738 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.5998, allocations: 8 kB / 0.5738 GB, free: 9.242 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.812e-05/0.5999, allocations: 103.2 kB / 0.5739 GB, free: 9.141 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5999, allocations: 4 kB / 0.5739 GB, free: 9.137 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003332/0.6032, allocations: 1.137 MB / 0.575 GB, free: 7.996 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: 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.005959/0.6092, allocations: 1.692 MB / 0.5766 GB, free: 6.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007301/0.6099, allocations: 279.4 kB / 0.5769 GB, free: 6.207 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6099, allocations: 0 / 0.5769 GB, free: 6.207 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003217/0.6102, allocations: 148 kB / 0.577 GB, free: 6.066 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000932/0.6111, allocations: 162.6 kB / 0.5772 GB, free: 5.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009095/0.612, allocations: 434.4 kB / 0.5776 GB, free: 5.473 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.6122, allocations: 125.2 kB / 0.5777 GB, free: 5.324 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.6123, allocations: 12.42 kB / 0.5777 GB, free: 5.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.209e-05/0.6123, allocations: 23.44 kB / 0.5778 GB, free: 5.289 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6123, allocations: 0 / 0.5778 GB, free: 5.289 MB / 414.1 MB Notification: Performance of Templates: time 0.0496/0.6619, allocations: 31.49 MB / 0.6085 GB, free: 6.035 MB / 446.1 MB " [Timeout remaining time 659] 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: 7.900426821783185] Failed to read output from testmodel.py, exit status != 0: 0.6697447933256626 0.684948679 0.219574654 Calling exit ...