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.0009054/0.0009054, 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.0009046/0.0009046, 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.9181/0.9181, 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.02911/0.02911, allocations: 7.513 MB / 266.7 MB, free: 6.207 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 3.797e-06/3.797e-06, allocations: 0 / 391.7 MB, free: 6.379 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.882e-05/4.262e-05, allocations: 6.219 kB / 391.7 MB, free: 6.371 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.01438/0.01442, allocations: 16.7 MB / 408.4 MB, free: 5.598 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.02489, allocations: 14.53 MB / 423 MB, free: 7.02 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.02504, allocations: 0 / 423 MB, free: 7.02 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009393/0.02598, allocations: 262.7 kB / 423.2 MB, free: 6.762 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.02616, allocations: 135.2 kB / 423.4 MB, free: 6.629 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.01493/0.04108, allocations: 7.429 MB / 430.8 MB, free: 15.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.04136, allocations: 254.5 kB / 431 MB, free: 14.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.563e-05/0.04141, allocations: 17.23 kB / 431 MB, free: 14.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.04158, allocations: 151.6 kB / 431.2 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.04164, allocations: 47.86 kB / 431.2 MB, free: 14.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.04166, allocations: 0 / 431.2 MB, free: 14.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/0.05234, allocations: 7.113 MB / 438.4 MB, free: 7.598 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.05237, allocations: 15.86 kB / 438.4 MB, free: 7.582 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.05251, allocations: 43.94 kB / 438.4 MB, free: 7.539 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009461/0.06197, allocations: 4.384 MB / 442.8 MB, free: 3.145 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.06197, allocations: 0 / 442.8 MB, free: 3.145 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.06198, allocations: 0 / 442.8 MB, free: 3.145 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.06198, allocations: 0 / 442.8 MB, free: 3.145 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.001631/0.06361, allocations: 0.9068 MB / 443.7 MB, free: 2.203 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.06365, allocations: 8.625 kB / 443.7 MB, free: 2.195 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.06369, allocations: 46.55 kB / 443.8 MB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.06373, allocations: 19.84 kB / 443.8 MB, free: 2.121 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.477e-05/0.06382, allocations: 117 kB / 443.9 MB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.06383, allocations: 11.92 kB / 443.9 MB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.06384, allocations: 7.938 kB / 443.9 MB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.06399, allocations: 109.7 kB / 444 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.064, allocations: 0 / 444 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.06401, allocations: 4 kB / 444 MB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.06402, allocations: 7.984 kB / 444 MB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.033e-05/0.06408, allocations: 83.97 kB / 444.1 MB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.06427, allocations: 216.5 kB / 444.3 MB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.669e-05/0.06436, allocations: 106.8 kB / 444.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.862e-05/0.06442, allocations: 89.23 kB / 444.5 MB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2028/0.2673, allocations: 27.52 MB / 472 MB, free: 89.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.2673, allocations: 36.39 kB / 472.1 MB, free: 89.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.314e-06/0.2673, allocations: 0 / 472.1 MB, free: 89.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004227/0.2677, allocations: 348.7 kB / 472.4 MB, free: 89.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.2677, allocations: 53.11 kB / 472.5 MB, free: 89.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.436e-05/0.2678, allocations: 102.6 kB / 472.6 MB, free: 89.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.503e-06/0.2678, allocations: 26.61 kB / 472.6 MB, free: 89.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.266e-05/0.2678, allocations: 82.45 kB / 472.7 MB, free: 89.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/0.2679, allocations: 132.8 kB / 472.8 MB, free: 89.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.2679, allocations: 41.78 kB / 472.8 MB, free: 89.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.06e-05/0.2679, allocations: 322.6 kB / 473.2 MB, free: 88.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.962e-05/0.268, allocations: 80.27 kB / 473.2 MB, free: 88.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.035e-05/0.2681, allocations: 85.88 kB / 473.3 MB, free: 88.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.2682, allocations: 205.5 kB / 473.5 MB, free: 88.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2682, allocations: 4.5 kB / 473.5 MB, free: 88.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000181/0.2684, allocations: 248 kB / 473.8 MB, free: 88.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2684, allocations: 8.438 kB / 473.8 MB, free: 88.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2684, allocations: 1.672 kB / 473.8 MB, free: 88.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.2684, allocations: 0 / 473.8 MB, free: 88.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.2684, allocations: 1.125 kB / 473.8 MB, free: 88.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2684, allocations: 0.7969 kB / 473.8 MB, free: 88.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.2685, allocations: 20 kB / 473.8 MB, free: 88.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.2685, allocations: 3.078 kB / 473.8 MB, free: 88.41 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.53e-05/0.2685, allocations: 121.4 kB / 473.9 MB, free: 88.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.2686, allocations: 16.5 kB / 473.9 MB, free: 88.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.2689, allocations: 395 kB / 474.3 MB, free: 88.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.2689, allocations: 9.391 kB / 474.3 MB, free: 88.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2689, allocations: 1.094 kB / 474.3 MB, free: 88.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2689, allocations: 0 / 474.3 MB, free: 88.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.269, allocations: 201.5 kB / 474.5 MB, free: 87.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.269, allocations: 4.844 kB / 474.5 MB, free: 87.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-06/0.269, allocations: 3.625 kB / 474.5 MB, free: 87.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.269, allocations: 5.062 kB / 474.5 MB, free: 87.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.269, allocations: 1.953 kB / 474.5 MB, free: 87.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.269, allocations: 4 kB / 474.5 MB, free: 87.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.269, allocations: 2.562 kB / 474.5 MB, free: 87.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.2692, allocations: 233.7 kB / 474.8 MB, free: 87.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.2692, allocations: 16.94 kB / 474.8 MB, free: 87.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.2692, allocations: 9.656 kB / 474.8 MB, free: 87.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.2693, allocations: 0.8438 kB / 474.8 MB, free: 87.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.2693, allocations: 4.156 kB / 474.8 MB, free: 87.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.2693, allocations: 2.188 kB / 474.8 MB, free: 87.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.584e-05/0.2693, allocations: 100.3 kB / 474.9 MB, free: 87.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2693, allocations: 0 / 474.9 MB, free: 87.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001996/0.2713, allocations: 1.111 MB / 476 MB, free: 87.57 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.003262/0.2746, allocations: 2.464 MB / 478.5 MB, free: 86.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.2748, allocations: 157.8 kB / 478.6 MB, free: 86.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2748, allocations: 1.031 kB / 478.6 MB, free: 86.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.904e-05/0.2748, allocations: 74.09 kB / 478.7 MB, free: 86.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.2753, allocations: 153.2 kB / 478.9 MB, free: 86.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.2771, allocations: 2.332 MB / 481.2 MB, free: 84.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.766e-05/0.2771, allocations: 97.7 kB / 481.3 MB, free: 84.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.06e-05/0.2772, allocations: 14.72 kB / 481.3 MB, free: 84.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.2772, allocations: 43.92 kB / 481.3 MB, free: 84.74 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2772, allocations: 0 / 481.3 MB, free: 84.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04299/0.3202, allocations: 33.4 MB / 0.5027 GB, free: 54.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.302/7.622, allocations: 10.95 kB / 0.5027 GB, free: 54.57 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.487780740484595] Failed to read output from testmodel.py, exit status != 0: 7.719319465570152 7.726459876 7.662810367 Calling exit ...