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.001348/0.001348, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002292/0.002292, allocations: 210.7 kB / 22.25 MB, free: 5.262 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.391/1.391, allocations: 230.6 MB / 256 MB, free: 7.781 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.04972/0.04972, allocations: 9.129 MB / 321.6 MB, free: 10.22 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: "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 75.83 kB / 446.5 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09736/0.0993, allocations: 54.94 MB / 0.4897 GB, free: 9.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.02006/0.1194, allocations: 16.49 MB / 0.5058 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.204/0.3233, allocations: 15.56 MB / 0.521 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.3235, allocations: 1.594 kB / 0.521 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006568/0.3242, allocations: 260.7 kB / 0.5213 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.3246, allocations: 248.2 kB / 0.5215 GB, free: 6.961 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.01594/0.3406, allocations: 7.635 MB / 0.5289 GB, free: 6.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.341, allocations: 356.2 kB / 0.5293 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.3411, allocations: 16.58 kB / 0.5293 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.3413, allocations: 168.4 kB / 0.5295 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.3415, allocations: 97.2 kB / 0.5296 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.3415, allocations: 5.156 kB / 0.5296 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01344/0.3549, allocations: 7.552 MB / 0.5369 GB, free: 5.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.355, allocations: 22.38 kB / 0.537 GB, free: 5.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.3552, allocations: 81.16 kB / 0.537 GB, free: 5.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009761/0.3649, allocations: 3.876 MB / 0.5408 GB, free: 4.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.365, allocations: 1.031 kB / 0.5408 GB, free: 4.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.365, allocations: 3.938 kB / 0.5408 GB, free: 4.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.365, allocations: 0 / 0.5408 GB, free: 4.062 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.00259/0.3675, allocations: 1.051 MB / 0.5418 GB, free: 3.336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3676, allocations: 13.56 kB / 0.5419 GB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.463e-05/0.3676, allocations: 57.81 kB / 0.5419 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.3678, allocations: 25.61 kB / 0.5419 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.368, allocations: 146 kB / 0.5421 GB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.368, allocations: 4.188 kB / 0.5421 GB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.368, allocations: 4.125 kB / 0.5421 GB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.3684, allocations: 174.2 kB / 0.5423 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3684, allocations: 0.6094 kB / 0.5423 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3684, allocations: 2 kB / 0.5423 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.3684, allocations: 9.891 kB / 0.5423 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.3688, allocations: 166.8 kB / 0.5424 GB, free: 3.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.3692, allocations: 454.8 kB / 0.5429 GB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.3695, allocations: 149.7 kB / 0.543 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.3697, allocations: 131.7 kB / 0.5431 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1135/0.4833, allocations: 27.56 MB / 0.57 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.4833, allocations: 38.55 kB / 0.5701 GB, free: 12.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.144e-06/0.4833, allocations: 4 kB / 0.5701 GB, free: 12.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.001087/0.4844, allocations: 483.7 kB / 0.5705 GB, free: 12.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.4844, allocations: 55.41 kB / 0.5706 GB, free: 11.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.4846, allocations: 140 kB / 0.5707 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.4846, allocations: 29.7 kB / 0.5708 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.276e-05/0.4847, allocations: 97.06 kB / 0.5709 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.4848, allocations: 158.9 kB / 0.571 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.031e-05/0.4849, allocations: 45.64 kB / 0.571 GB, free: 11.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.485, allocations: 334.8 kB / 0.5714 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.4853, allocations: 120.4 kB / 0.5715 GB, free: 11.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.4855, allocations: 122.1 kB / 0.5716 GB, free: 10.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005445/0.4861, allocations: 295.7 kB / 0.5719 GB, free: 10.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4861, allocations: 0 / 0.5719 GB, free: 10.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006281/0.4867, allocations: 333.3 kB / 0.5722 GB, free: 10.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4867, allocations: 8 kB / 0.5722 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4867, allocations: 0 / 0.5722 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4867, allocations: 3.938 kB / 0.5722 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.4869, allocations: 23.97 kB / 0.5722 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.4869, allocations: 3.938 kB / 0.5722 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.4871, allocations: 31.77 kB / 0.5723 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.4871, allocations: 11.98 kB / 0.5723 GB, free: 10.22 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.0001149/0.4872, allocations: 125.8 kB / 0.5724 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.4872, allocations: 22.2 kB / 0.5724 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007969/0.488, allocations: 409 kB / 0.5728 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.4881, allocations: 7.984 kB / 0.5728 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4881, allocations: 4 kB / 0.5728 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4881, allocations: 0 / 0.5728 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.4884, allocations: 260.5 kB / 0.5731 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.4884, allocations: 1.312 kB / 0.5731 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.4885, allocations: 23.97 kB / 0.5731 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4885, allocations: 0 / 0.5731 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4885, allocations: 4.75 kB / 0.5731 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4885, allocations: 1.641 kB / 0.5731 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4885, allocations: 0 / 0.5731 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007025/0.4892, allocations: 463.8 kB / 0.5735 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.79e-05/0.4893, allocations: 35.78 kB / 0.5736 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.4893, allocations: 6.109 kB / 0.5736 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.4895, allocations: 11.98 kB / 0.5736 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.4896, allocations: 11.98 kB / 0.5736 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.4896, allocations: 7.984 kB / 0.5736 GB, free: 8.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.468e-05/0.4896, allocations: 110.2 kB / 0.5737 GB, free: 8.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4896, allocations: 0 / 0.5737 GB, free: 8.688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003123/0.4928, allocations: 1.141 MB / 0.5748 GB, free: 7.543 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.006151/0.4989, allocations: 2.571 MB / 0.5773 GB, free: 5.125 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007177/0.4996, allocations: 271.3 kB / 0.5776 GB, free: 4.859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4996, allocations: 4 kB / 0.5776 GB, free: 4.855 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002863/0.4999, allocations: 140 kB / 0.5777 GB, free: 4.723 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009598/0.5009, allocations: 165.4 kB / 0.5779 GB, free: 4.566 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/0.5056, allocations: 2.821 MB / 0.5806 GB, free: 1.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.5057, allocations: 125.2 kB / 0.5808 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.5058, allocations: 16.86 kB / 0.5808 GB, free: 1.512 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.46e-05/0.5059, allocations: 51.42 kB / 0.5808 GB, free: 1.461 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.5059, allocations: 0 / 0.5808 GB, free: 1.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07343/0.5793, allocations: 34.82 MB / 0.6148 GB, free: 14.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.8, allocations: 10.78 kB / 0.6148 GB, free: 14.96 MB / 462.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0048 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.381809388287365] Failed to read output from testmodel.py, exit status != 0: 12.926806838717312 12.943239679 12.575093648 Calling exit ...