Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.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.0007598/0.0007598, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007762/0.0007762, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8593/0.8593, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.02783/0.02783, allocations: 7.52 MB / 266.7 MB, free: 6.203 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.Parameter.SinglePhase_setState,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.SinglePhase_setState,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 391.7 MB, free: 6.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.639e-05, allocations: 2.281 kB / 391.7 MB, free: 6.363 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.013/0.01302, allocations: 16.7 MB / 408.4 MB, free: 5.598 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009587/0.02261, allocations: 14.54 MB / 423 MB, free: 7.008 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.46e-05/0.02266, allocations: 4 kB / 423 MB, free: 7.004 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005019/0.02316, allocations: 254.7 kB / 423.2 MB, free: 6.754 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.02329, allocations: 139.2 kB / 423.4 MB, free: 6.617 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.01226/0.03555, allocations: 7.43 MB / 430.8 MB, free: 15.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000229/0.03578, allocations: 258.5 kB / 431 MB, free: 14.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.03583, allocations: 13.25 kB / 431 MB, free: 14.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.03596, allocations: 143.6 kB / 431.2 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.608e-05/0.03602, allocations: 47.8 kB / 431.2 MB, free: 14.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.03603, allocations: 4 kB / 431.2 MB, free: 14.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007747/0.04377, allocations: 7.113 MB / 438.4 MB, free: 7.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.04379, allocations: 15.91 kB / 438.4 MB, free: 7.574 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.212e-05/0.04388, allocations: 43.94 kB / 438.4 MB, free: 7.531 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00515/0.04903, allocations: 4.38 MB / 442.8 MB, free: 3.141 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.04903, allocations: 0 / 442.8 MB, free: 3.141 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.04903, allocations: 3.938 kB / 442.8 MB, free: 3.137 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.04904, allocations: 0 / 442.8 MB, free: 3.137 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001143/0.05018, allocations: 0.9068 MB / 443.7 MB, free: 2.195 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.05022, allocations: 8.625 kB / 443.7 MB, free: 2.188 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.513e-05/0.05025, allocations: 42.55 kB / 443.8 MB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.05029, allocations: 15.91 kB / 443.8 MB, free: 2.121 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.531e-05/0.05037, allocations: 129 kB / 443.9 MB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.05038, allocations: 7.938 kB / 443.9 MB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.05039, allocations: 3.938 kB / 443.9 MB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.05053, allocations: 113.7 kB / 444 MB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.05054, allocations: 4 kB / 444 MB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.05055, allocations: 3.984 kB / 444 MB, free: 1.832 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.05055, allocations: 3.984 kB / 444 MB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.05086, allocations: 79.98 kB / 444.1 MB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.05103, allocations: 220.5 kB / 444.3 MB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.949e-05/0.05112, allocations: 106.8 kB / 444.4 MB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/0.05118, allocations: 89.23 kB / 444.5 MB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1817/0.2329, allocations: 27.52 MB / 472 MB, free: 89.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.233, allocations: 39.47 kB / 472.1 MB, free: 89.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.943e-06/0.233, allocations: 0 / 472.1 MB, free: 89.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.000394/0.2334, allocations: 345.5 kB / 472.4 MB, free: 89.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.064e-05/0.2334, allocations: 52.47 kB / 472.5 MB, free: 89.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.291e-05/0.2334, allocations: 99 kB / 472.6 MB, free: 89.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.981e-06/0.2334, allocations: 25.7 kB / 472.6 MB, free: 89.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.214e-05/0.2334, allocations: 82.89 kB / 472.7 MB, free: 89.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/0.2335, allocations: 143.2 kB / 472.8 MB, free: 89.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.2335, allocations: 36.97 kB / 472.8 MB, free: 89.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.2336, allocations: 323 kB / 473.2 MB, free: 88.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.742e-05/0.2336, allocations: 84.45 kB / 473.2 MB, free: 88.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.536e-05/0.2337, allocations: 86.17 kB / 473.3 MB, free: 88.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.2338, allocations: 205.8 kB / 473.5 MB, free: 88.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2338, allocations: 0 / 473.5 MB, free: 88.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001886/0.234, allocations: 248.6 kB / 473.8 MB, free: 88.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.234, allocations: 9.406 kB / 473.8 MB, free: 88.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.234, allocations: 0 / 473.8 MB, free: 88.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.234, allocations: 1.609 kB / 473.8 MB, free: 88.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.234, allocations: 0 / 473.8 MB, free: 88.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.2341, allocations: 2.938 kB / 473.8 MB, free: 88.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.2341, allocations: 15.84 kB / 473.8 MB, free: 88.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.2341, allocations: 9.922 kB / 473.8 MB, free: 88.43 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 (6): * Single equations (assignments): 0 * 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 5.277e-05/0.2342, allocations: 116.2 kB / 473.9 MB, free: 88.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.2342, allocations: 15.91 kB / 473.9 MB, free: 88.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.2345, allocations: 393.6 kB / 474.3 MB, free: 88.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.2345, allocations: 9.344 kB / 474.3 MB, free: 88.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2345, allocations: 0.5625 kB / 474.3 MB, free: 88.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.2345, allocations: 0 / 474.3 MB, free: 88.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.2346, allocations: 208 kB / 474.5 MB, free: 87.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2346, allocations: 5.344 kB / 474.5 MB, free: 87.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-06/0.2346, allocations: 3.625 kB / 474.5 MB, free: 87.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2346, allocations: 5.062 kB / 474.5 MB, free: 87.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.2346, allocations: 2.234 kB / 474.5 MB, free: 87.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.2346, allocations: 0 / 474.5 MB, free: 87.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2346, allocations: 1.031 kB / 474.5 MB, free: 87.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.2347, allocations: 233.8 kB / 474.8 MB, free: 87.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.2348, allocations: 15.53 kB / 474.8 MB, free: 87.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.2348, allocations: 10.97 kB / 474.8 MB, free: 87.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.214e-05/0.2348, allocations: 1.797 kB / 474.8 MB, free: 87.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.2348, allocations: 4.484 kB / 474.8 MB, free: 87.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.2348, allocations: 5.125 kB / 474.8 MB, free: 87.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.084e-05/0.2348, allocations: 104.9 kB / 474.9 MB, free: 87.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2348, allocations: 0 / 474.9 MB, free: 87.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001528/0.2364, allocations: 1.114 MB / 476 MB, free: 87.59 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: 5 (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 (5): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.002827/0.2392, allocations: 2.456 MB / 478.5 MB, free: 86.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.2394, allocations: 157.8 kB / 478.6 MB, free: 86.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.2394, allocations: 1.094 kB / 478.6 MB, free: 86.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.811e-05/0.2394, allocations: 73.11 kB / 478.7 MB, free: 86.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.2399, allocations: 150.1 kB / 478.9 MB, free: 86.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.2413, allocations: 2.33 MB / 481.2 MB, free: 84.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.102e-05/0.2414, allocations: 102.7 kB / 481.3 MB, free: 84.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.109e-05/0.2414, allocations: 8.875 kB / 481.3 MB, free: 84.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.2415, allocations: 43.7 kB / 481.3 MB, free: 84.77 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2415, allocations: 4 kB / 481.3 MB, free: 84.76 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03575/0.2772, allocations: 33.22 MB / 0.5025 GB, free: 54.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.413/7.69, allocations: 3.938 kB / 0.5025 GB, free: 54.71 MB / 410.7 MB " [Timeout remaining time 652] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 1 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.412857167422771] Failed to read output from testmodel.py, exit status != 0: 7.7896762154996395 7.796341763 7.745902608 Calling exit ...