Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.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.001321/0.001321, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001516/0.001516, allocations: 217 kB / 22.25 MB, free: 5.082 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 8.012 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.04999/0.04999, allocations: 9.143 MB / 321.6 MB, free: 10.4 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_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 63.91 kB / 447.1 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.12, allocations: 54.95 MB / 0.4903 GB, free: 9.473 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.02469/0.1447, allocations: 18.28 MB / 0.5081 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2667/0.4114, allocations: 17.6 MB / 0.5253 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.4117, allocations: 0 / 0.5253 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009184/0.4126, allocations: 330.4 kB / 0.5256 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005685/0.4132, allocations: 250.9 kB / 0.5259 GB, free: 7.246 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.02062/0.4338, allocations: 7.757 MB / 0.5334 GB, free: 6.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005268/0.4343, allocations: 352.7 kB / 0.5338 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.906e-05/0.4344, allocations: 15.34 kB / 0.5338 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.4347, allocations: 169.2 kB / 0.5339 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.4349, allocations: 98.39 kB / 0.534 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.4349, allocations: 5.844 kB / 0.534 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02155/0.4565, allocations: 11.13 MB / 0.5449 GB, free: 2.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.56e-05/0.4565, allocations: 22.55 kB / 0.5449 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002763/0.4568, allocations: 104.5 kB / 0.545 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01325/0.4701, allocations: 4.493 MB / 0.5494 GB, free: 240 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4701, allocations: 0.9688 kB / 0.5494 GB, free: 240 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4701, allocations: 0 / 0.5494 GB, free: 240 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.4701, allocations: 3.984 kB / 0.5494 GB, free: 236 kB / 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.003155/0.4732, allocations: 1.058 MB / 0.5505 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.4733, allocations: 11.5 kB / 0.5505 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.4734, allocations: 32.16 kB / 0.5505 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.4737, allocations: 150.8 kB / 0.5506 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.4737, allocations: 2.719 kB / 0.5506 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.4737, allocations: 6.156 kB / 0.5507 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/0.4741, allocations: 180.8 kB / 0.5508 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4741, allocations: 5.812 kB / 0.5508 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.4742, allocations: 0 / 0.5508 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.4742, allocations: 10.52 kB / 0.5508 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.4746, allocations: 157.2 kB / 0.551 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007083/0.4753, allocations: 479.1 kB / 0.5514 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.4756, allocations: 140.3 kB / 0.5516 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.4759, allocations: 128.9 kB / 0.5517 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1234/0.5993, allocations: 27.48 MB / 0.5785 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.5993, allocations: 30.56 kB / 0.5786 GB, free: 6.305 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.935e-06/0.5993, allocations: 0 / 0.5786 GB, free: 6.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.001186/0.6005, allocations: 492.3 kB / 0.579 GB, free: 5.816 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.6006, allocations: 55.41 kB / 0.5791 GB, free: 5.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.6007, allocations: 137.8 kB / 0.5792 GB, free: 5.605 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.6007, allocations: 25.7 kB / 0.5793 GB, free: 5.574 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.6008, allocations: 93.12 kB / 0.5793 GB, free: 5.477 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.601, allocations: 151.3 kB / 0.5795 GB, free: 5.332 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.75e-05/0.601, allocations: 45.66 kB / 0.5795 GB, free: 5.281 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.6012, allocations: 338.8 kB / 0.5799 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.6015, allocations: 128.3 kB / 0.58 GB, free: 4.816 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.6017, allocations: 122 kB / 0.5801 GB, free: 4.699 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005404/0.6023, allocations: 295.7 kB / 0.5804 GB, free: 4.406 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6023, allocations: 0 / 0.5804 GB, free: 4.406 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006319/0.6029, allocations: 333.3 kB / 0.5807 GB, free: 4.074 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.6029, allocations: 4 kB / 0.5807 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.6029, allocations: 0 / 0.5807 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.6029, allocations: 4 kB / 0.5807 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.6031, allocations: 27.97 kB / 0.5807 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.6031, allocations: 3.938 kB / 0.5807 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.6033, allocations: 31.77 kB / 0.5808 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.6033, allocations: 4 kB / 0.5808 GB, free: 4 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 (11): * Single equations (assignments): 5 * 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.0001397/0.6035, allocations: 130 kB / 0.5809 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.6035, allocations: 24.56 kB / 0.5809 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000812/0.6043, allocations: 408 kB / 0.5813 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/0.6044, allocations: 11.98 kB / 0.5813 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6044, allocations: 7.594 kB / 0.5813 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6044, allocations: 4 kB / 0.5813 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.6047, allocations: 272.8 kB / 0.5816 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6047, allocations: 0 / 0.5816 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.6048, allocations: 23.97 kB / 0.5816 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.6049, allocations: 0.6094 kB / 0.5816 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.6049, allocations: 0 / 0.5816 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.6049, allocations: 0 / 0.5816 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6049, allocations: 8.719 kB / 0.5816 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007109/0.6056, allocations: 459.8 kB / 0.5821 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.981e-05/0.6056, allocations: 31.78 kB / 0.5821 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.6057, allocations: 7.984 kB / 0.5821 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.6058, allocations: 15.98 kB / 0.5821 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.6059, allocations: 12.59 kB / 0.5821 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.6059, allocations: 3.984 kB / 0.5821 GB, free: 2.551 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.944e-05/0.606, allocations: 105.3 kB / 0.5822 GB, free: 2.449 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.606, allocations: 0 / 0.5822 GB, free: 2.449 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004391/0.6104, allocations: 1.145 MB / 0.5833 GB, free: 1.301 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 (11): * Single equations (assignments): 5 * 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.005213/0.6156, allocations: 1.686 MB / 0.585 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007283/0.6163, allocations: 275.5 kB / 0.5852 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6163, allocations: 0 / 0.5852 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.6166, allocations: 144.5 kB / 0.5854 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009337/0.6176, allocations: 163.8 kB / 0.5855 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007428/0.6183, allocations: 414.6 kB / 0.5859 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.6187, allocations: 0.7369 MB / 0.5867 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.645e-05/0.6187, allocations: 16.75 kB / 0.5867 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.6188, allocations: 19.44 kB / 0.5867 GB, free: 14 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.6188, allocations: 0 / 0.5867 GB, free: 14 MB / 430.1 MB Notification: Performance of Templates: time 0.04779/0.6666, allocations: 31.02 MB / 0.617 GB, free: 15.12 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.230576307978481] Failed to read output from testmodel.py, exit status != 0: 0.6747108362615108 0.6902099979999999 0.216923411 Calling exit ...