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.0007295/0.0007295, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008221/0.0008221, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9251/0.9251, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 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.03863/0.03863, allocations: 7.513 MB / 266.7 MB, free: 6.199 MB / 250.7 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 3.607e-06/3.607e-06, allocations: 0 / 391.7 MB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/3.015e-05, allocations: 2.281 kB / 391.7 MB, free: 6.371 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01496/0.01499, allocations: 16.47 MB / 408.2 MB, free: 5.836 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.02618, allocations: 15.59 MB / 423.8 MB, free: 6.199 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.02641, allocations: 0 / 423.8 MB, free: 6.199 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006441/0.02706, allocations: 270.6 kB / 424 MB, free: 5.934 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004616/0.02752, allocations: 242.4 kB / 424.3 MB, free: 5.695 MB / 394.7 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.01653/0.04405, allocations: 7.742 MB / 432 MB, free: 13.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005731/0.04462, allocations: 373.9 kB / 432.4 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.04471, allocations: 12.58 kB / 432.4 MB, free: 13.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004237/0.04513, allocations: 223.4 kB / 432.6 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.04525, allocations: 83.77 kB / 432.7 MB, free: 13.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.04526, allocations: 4 kB / 432.7 MB, free: 13.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01182/0.05708, allocations: 7.6 MB / 440.3 MB, free: 5.641 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.393e-05/0.05713, allocations: 31.8 kB / 440.3 MB, free: 5.609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.0573, allocations: 71.84 kB / 440.4 MB, free: 5.539 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.06816, allocations: 4.582 MB / 445 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.06817, allocations: 8 kB / 445 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.06817, allocations: 4 kB / 445 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.06818, allocations: 0 / 445 MB, free: 0.9336 MB / 410.7 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.1692/0.2373, allocations: 1.042 MB / 446 MB, free: 92.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2374, allocations: 11.84 kB / 446.1 MB, free: 92.45 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.2374, allocations: 43.11 kB / 446.1 MB, free: 92.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.2376, allocations: 31.34 kB / 446.1 MB, free: 92.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.2378, allocations: 143.5 kB / 446.3 MB, free: 92.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.2378, allocations: 13.94 kB / 446.3 MB, free: 92.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.2378, allocations: 6.562 kB / 446.3 MB, free: 92.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.238, allocations: 177.8 kB / 446.5 MB, free: 92.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.238, allocations: 2.75 kB / 446.5 MB, free: 92.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.238, allocations: 0 / 446.5 MB, free: 92.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.238, allocations: 13.78 kB / 446.5 MB, free: 92.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.2382, allocations: 163 kB / 446.6 MB, free: 92.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.2386, allocations: 452.2 kB / 447.1 MB, free: 91.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.2388, allocations: 144.4 kB / 447.2 MB, free: 91.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.2389, allocations: 129.3 kB / 447.3 MB, free: 91.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05583/0.2948, allocations: 27.56 MB / 474.9 MB, free: 88.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.2948, allocations: 35.62 kB / 474.9 MB, free: 88.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=47): time 2.135e-06/0.2948, allocations: 0 / 474.9 MB, free: 88.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=47): time 0.00085/0.2956, allocations: 490.2 kB / 475.4 MB, free: 88.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.2957, allocations: 59.19 kB / 475.5 MB, free: 88.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.2958, allocations: 141.7 kB / 475.6 MB, free: 88.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.2958, allocations: 29.7 kB / 475.6 MB, free: 88.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.52e-05/0.2958, allocations: 87.55 kB / 475.7 MB, free: 88.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.2959, allocations: 156.2 kB / 475.9 MB, free: 87.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.2959, allocations: 48.58 kB / 475.9 MB, free: 87.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.608e-05/0.296, allocations: 334.4 kB / 476.3 MB, free: 87.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.2961, allocations: 120.7 kB / 476.4 MB, free: 87.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.2963, allocations: 121.5 kB / 476.5 MB, free: 87.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.2966, allocations: 300.1 kB / 476.8 MB, free: 87.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2966, allocations: 0 / 476.8 MB, free: 87.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003611/0.297, allocations: 336.4 kB / 477.1 MB, free: 87.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.297, allocations: 4.531 kB / 477.1 MB, free: 87.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.297, allocations: 1.125 kB / 477.1 MB, free: 87.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.297, allocations: 0 / 477.1 MB, free: 87.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.598e-05/0.2971, allocations: 34.52 kB / 477.2 MB, free: 87.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2971, allocations: 0 / 477.2 MB, free: 87.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.781e-05/0.2972, allocations: 35.34 kB / 477.2 MB, free: 87.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.2972, allocations: 4.969 kB / 477.2 MB, free: 87.22 MB / 410.7 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 6.512e-05/0.2973, allocations: 123.2 kB / 477.3 MB, free: 87.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.2973, allocations: 20.86 kB / 477.3 MB, free: 87.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004745/0.2978, allocations: 414.9 kB / 477.7 MB, free: 86.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.2978, allocations: 12.34 kB / 477.8 MB, free: 86.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.2978, allocations: 5.25 kB / 477.8 MB, free: 86.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2978, allocations: 0 / 477.8 MB, free: 86.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.298, allocations: 255.8 kB / 478 MB, free: 86.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.298, allocations: 0 / 478 MB, free: 86.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.185e-05/0.298, allocations: 30.19 kB / 478 MB, free: 86.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.2981, allocations: 0 / 478 MB, free: 86.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.2981, allocations: 2.125 kB / 478 MB, free: 86.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.2981, allocations: 1.719 kB / 478 MB, free: 86.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2981, allocations: 7.328 kB / 478 MB, free: 86.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.2985, allocations: 449.6 kB / 478.5 MB, free: 86.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.2985, allocations: 35.11 kB / 478.5 MB, free: 86.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.2985, allocations: 5.859 kB / 478.5 MB, free: 86.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.083e-05/0.2986, allocations: 17.39 kB / 478.5 MB, free: 86.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.2987, allocations: 17.14 kB / 478.6 MB, free: 86.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.2987, allocations: 6.094 kB / 478.6 MB, free: 86.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.075e-05/0.2987, allocations: 102.2 kB / 478.7 MB, free: 86.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2987, allocations: 0 / 478.7 MB, free: 86.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002156/0.3009, allocations: 1.143 MB / 479.8 MB, free: 86.23 MB / 410.7 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.003672/0.3045, allocations: 2.729 MB / 482.5 MB, free: 84.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004077/0.305, allocations: 277.9 kB / 482.8 MB, free: 84.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.305, allocations: 0 / 482.8 MB, free: 84.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.3051, allocations: 141.9 kB / 482.9 MB, free: 84.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.3056, allocations: 166 kB / 483.1 MB, free: 84.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.3079, allocations: 2.836 MB / 485.9 MB, free: 82.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.161e-05/0.3079, allocations: 122 kB / 486.1 MB, free: 82.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.936e-05/0.308, allocations: 11.8 kB / 486.1 MB, free: 82.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.3081, allocations: 54.14 kB / 486.1 MB, free: 82.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3081, allocations: 1.875 kB / 486.1 MB, free: 82.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04291/0.351, allocations: 34.88 MB / 0.5088 GB, free: 48.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/7.89, allocations: 11.86 kB / 0.5088 GB, free: 48.35 MB / 410.7 MB " [Timeout remaining time 652] (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: 9.828375312499702] Failed to read output from testmodel.py, exit status != 0: 7.988130033016205 7.996340274 7.926481612 Calling exit ...