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.001677/0.001677, 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.001653/0.001653, allocations: 210 kB / 22.25 MB, free: 4.855 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.789 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.05301/0.05301, allocations: 9.137 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.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.002073/0.002073, allocations: 71.89 kB / 447 MB, free: 120 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1111, allocations: 54.94 MB / 0.4902 GB, free: 9.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.0211/0.1322, allocations: 16.49 MB / 0.5063 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2796/0.4118, allocations: 15.56 MB / 0.5215 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.412, allocations: 0.5312 kB / 0.5215 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006946/0.4127, allocations: 262.8 kB / 0.5217 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005025/0.4132, allocations: 240.8 kB / 0.522 GB, free: 8.031 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.0217/0.4349, allocations: 7.64 MB / 0.5294 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005017/0.4354, allocations: 353.1 kB / 0.5298 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.05e-05/0.4355, allocations: 10.66 kB / 0.5298 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003467/0.4358, allocations: 174.3 kB / 0.5299 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.4359, allocations: 99.39 kB / 0.53 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.436, allocations: 6.438 kB / 0.53 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0159/0.4519, allocations: 7.543 MB / 0.5374 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.92e-05/0.4519, allocations: 30.16 kB / 0.5374 GB, free: 6.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.4522, allocations: 86.08 kB / 0.5375 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.4647, allocations: 3.869 MB / 0.5413 GB, free: 4.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.4647, allocations: 1.125 kB / 0.5413 GB, free: 4.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4647, allocations: 0 / 0.5413 GB, free: 4.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.4647, allocations: 0 / 0.5413 GB, free: 4.969 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.003842/0.4685, allocations: 1.054 MB / 0.5423 GB, free: 4.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.4686, allocations: 12.62 kB / 0.5423 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.4688, allocations: 29.69 kB / 0.5424 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.4691, allocations: 148.6 kB / 0.5425 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.4691, allocations: 14.31 kB / 0.5425 GB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.4691, allocations: 2.812 kB / 0.5425 GB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.4695, allocations: 175 kB / 0.5427 GB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4695, allocations: 0 / 0.5427 GB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.4695, allocations: 1.406 kB / 0.5427 GB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.4695, allocations: 11.7 kB / 0.5427 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004107/0.4699, allocations: 166 kB / 0.5429 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.4705, allocations: 419.8 kB / 0.5433 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.4708, allocations: 141.2 kB / 0.5434 GB, free: 3.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.471, allocations: 128.9 kB / 0.5435 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1237/0.5948, allocations: 27.57 MB / 0.5704 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.458e-05/0.5948, allocations: 42.5 kB / 0.5705 GB, free: 12.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.906e-06/0.5948, allocations: 0 / 0.5705 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.001322/0.5962, allocations: 487.7 kB / 0.5709 GB, free: 12.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.5962, allocations: 51.41 kB / 0.571 GB, free: 12.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.5964, allocations: 140 kB / 0.5711 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.5964, allocations: 25.7 kB / 0.5711 GB, free: 12.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.5965, allocations: 93.14 kB / 0.5712 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.5966, allocations: 153.2 kB / 0.5714 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.109e-05/0.5967, allocations: 49.58 kB / 0.5714 GB, free: 11.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.5969, allocations: 334.8 kB / 0.5717 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.5972, allocations: 120.4 kB / 0.5719 GB, free: 11.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.5975, allocations: 126.1 kB / 0.572 GB, free: 11.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005921/0.5981, allocations: 291.6 kB / 0.5723 GB, free: 10.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5981, allocations: 0 / 0.5723 GB, free: 10.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007377/0.5988, allocations: 345.2 kB / 0.5726 GB, free: 10.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5988, allocations: 8 kB / 0.5726 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.5988, allocations: 0 / 0.5726 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.5989, allocations: 0 / 0.5726 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.599, allocations: 19.98 kB / 0.5726 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.599, allocations: 0 / 0.5726 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.5993, allocations: 39.81 kB / 0.5727 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.5993, allocations: 4 kB / 0.5727 GB, free: 10.58 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.000152/0.5994, allocations: 126.4 kB / 0.5728 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.5995, allocations: 19.86 kB / 0.5728 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009236/0.6004, allocations: 423.8 kB / 0.5732 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.6004, allocations: 3.984 kB / 0.5732 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.6004, allocations: 4 kB / 0.5732 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.6005, allocations: 3.984 kB / 0.5732 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.6008, allocations: 210.7 kB / 0.5734 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6008, allocations: 3.938 kB / 0.5734 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.601, allocations: 23.97 kB / 0.5734 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.601, allocations: 4 kB / 0.5734 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.601, allocations: 0 / 0.5734 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.601, allocations: 4 kB / 0.5735 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.601, allocations: 0 / 0.5735 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008147/0.6018, allocations: 451.9 kB / 0.5739 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.6019, allocations: 48.25 kB / 0.5739 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.602, allocations: 2.375 kB / 0.5739 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.6022, allocations: 19.98 kB / 0.5739 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.6022, allocations: 15.91 kB / 0.574 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.6022, allocations: 8 kB / 0.574 GB, free: 9.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.506e-05/0.6023, allocations: 105 kB / 0.5741 GB, free: 9.082 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6023, allocations: 0 / 0.5741 GB, free: 9.082 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003934/0.6063, allocations: 1.137 MB / 0.5752 GB, free: 7.941 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.007376/0.6136, allocations: 1.698 MB / 0.5768 GB, free: 6.418 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000912/0.6146, allocations: 267.3 kB / 0.5771 GB, free: 6.156 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.6146, allocations: 8 kB / 0.5771 GB, free: 6.148 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003707/0.6149, allocations: 136.3 kB / 0.5772 GB, free: 6.016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.616, allocations: 166 kB / 0.5774 GB, free: 5.863 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009052/0.6169, allocations: 413 kB / 0.5778 GB, free: 5.441 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.6171, allocations: 125.2 kB / 0.5779 GB, free: 5.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.6172, allocations: 19.41 kB / 0.5779 GB, free: 5.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.6173, allocations: 19.44 kB / 0.5779 GB, free: 5.258 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6173, allocations: 3.938 kB / 0.5779 GB, free: 5.254 MB / 414.1 MB Notification: Performance of Templates: time 0.05296/0.6702, allocations: 31.46 MB / 0.6087 GB, free: 6.027 MB / 446.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.444586241617799] Failed to read output from testmodel.py, exit status != 0: 0.6782211102545261 0.6951672050000001 0.22699927 Calling exit ...