Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.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.0007669/0.0007669, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0009196/0.0009196, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8804/0.8804, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.02853/0.02853, allocations: 7.512 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.Parameter.State_ph_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ph_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 391.7 MB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.595e-05, allocations: 2.281 kB / 391.7 MB, free: 6.371 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01231/0.01233, allocations: 15.31 MB / 407 MB, free: 7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005826/0.01816, allocations: 8.622 MB / 415.7 MB, free: 14.35 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.01819, allocations: 0 / 415.7 MB, free: 14.35 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005052/0.0187, allocations: 223.3 kB / 415.9 MB, free: 14.13 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.282e-05/0.01873, allocations: 39.77 kB / 415.9 MB, free: 14.09 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. Notification: Performance of NFTyping.typeClassSections: time 0.008064/0.02679, allocations: 5.332 MB / 421.2 MB, free: 8.754 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.399e-05/0.02687, allocations: 51.67 kB / 421.3 MB, free: 8.703 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.0269, allocations: 7.984 kB / 421.3 MB, free: 8.695 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.788e-05/0.02699, allocations: 35.84 kB / 421.3 MB, free: 8.66 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.668e-05/0.02702, allocations: 4 kB / 421.3 MB, free: 8.656 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.02703, allocations: 0 / 421.3 MB, free: 8.656 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005422/0.03245, allocations: 5.554 MB / 426.9 MB, free: 3.09 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.03246, allocations: 3.938 kB / 426.9 MB, free: 3.086 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.03249, allocations: 8 kB / 426.9 MB, free: 3.078 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003219/0.03571, allocations: 3.258 MB / 430.2 MB, free: 15.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.03571, allocations: 0 / 430.2 MB, free: 15.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.03572, allocations: 0 / 430.2 MB, free: 15.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.03572, allocations: 4 kB / 430.2 MB, free: 15.8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007137/0.03643, allocations: 0.6455 MB / 430.8 MB, free: 15.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.03647, allocations: 12.62 kB / 430.8 MB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.558e-05/0.0365, allocations: 30.56 kB / 430.9 MB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.03652, allocations: 7.938 kB / 430.9 MB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.928e-05/0.03659, allocations: 109.2 kB / 431 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.0366, allocations: 3.938 kB / 431 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-06/0.0366, allocations: 3.938 kB / 431 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.352e-05/0.03669, allocations: 41.64 kB / 431 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.03669, allocations: 0 / 431 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.0367, allocations: 0 / 431 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.03671, allocations: 11.98 kB / 431 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.882e-05/0.03673, allocations: 12 kB / 431 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001168/0.03684, allocations: 128.8 kB / 431.2 MB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.187e-05/0.03688, allocations: 38.52 kB / 431.2 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.0369, allocations: 20.88 kB / 431.2 MB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009808/0.04671, allocations: 4.386 MB / 435.6 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.04673, allocations: 38.5 kB / 435.7 MB, free: 10.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.04674, allocations: 0 / 435.7 MB, free: 10.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.000161/0.0469, allocations: 81.64 kB / 435.7 MB, free: 10.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.04693, allocations: 55.41 kB / 435.8 MB, free: 10.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.358e-05/0.04698, allocations: 93.86 kB / 435.9 MB, free: 9.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.04699, allocations: 29.69 kB / 435.9 MB, free: 9.895 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.085e-05/0.04701, allocations: 80.14 kB / 436 MB, free: 9.812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.04704, allocations: 23.8 kB / 436 MB, free: 9.789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.04707, allocations: 13.72 kB / 436 MB, free: 9.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.443e-05/0.04714, allocations: 322.8 kB / 436.3 MB, free: 9.445 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.04716, allocations: 12 kB / 436.3 MB, free: 9.434 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.168e-05/0.04717, allocations: 8 kB / 436.4 MB, free: 9.426 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.561e-05/0.0472, allocations: 53.27 kB / 436.4 MB, free: 9.371 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.04721, allocations: 0 / 436.4 MB, free: 9.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.295e-05/0.04726, allocations: 61.67 kB / 436.5 MB, free: 9.305 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.04727, allocations: 7.938 kB / 436.5 MB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.04728, allocations: 0 / 436.5 MB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.04729, allocations: 0 / 436.5 MB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.04729, allocations: 0 / 436.5 MB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.04729, allocations: 4 kB / 436.5 MB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.276e-05/0.04731, allocations: 0 / 436.5 MB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.04732, allocations: 0 / 436.5 MB, free: 9.293 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: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.672e-05/0.04737, allocations: 117.8 kB / 436.6 MB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-06/0.04738, allocations: 7.984 kB / 436.6 MB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.04749, allocations: 178.9 kB / 436.8 MB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.911e-05/0.04753, allocations: 176.3 kB / 436.9 MB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.346e-05/0.04757, allocations: 184.2 kB / 437.1 MB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.981e-05/0.04761, allocations: 188.2 kB / 437.3 MB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.04775, allocations: 384.2 kB / 437.7 MB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.229e-05/0.04778, allocations: 104.9 kB / 437.8 MB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.0478, allocations: 105 kB / 437.9 MB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.726e-05/0.04783, allocations: 180.2 kB / 438.1 MB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.04788, allocations: 180.3 kB / 438.2 MB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-05/0.04792, allocations: 192.2 kB / 438.4 MB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.71e-05/0.04796, allocations: 176.3 kB / 438.6 MB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.502e-05/0.04806, allocations: 307.9 kB / 438.9 MB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.04809, allocations: 113 kB / 439 MB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.04814, allocations: 192.2 kB / 439.2 MB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.954e-05/0.04819, allocations: 101 kB / 439.3 MB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.04823, allocations: 176.3 kB / 439.5 MB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.04826, allocations: 108.9 kB / 439.6 MB, free: 5.977 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.736e-05/0.04831, allocations: 99.27 kB / 439.7 MB, free: 5.879 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04831, allocations: 0 / 439.7 MB, free: 5.879 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001057/0.04936, allocations: 0.7631 MB / 440.4 MB, free: 5.113 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002156/0.05152, allocations: 2.013 MB / 442.5 MB, free: 3.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.395e-05/0.05158, allocations: 12 kB / 442.5 MB, free: 3.059 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.05158, allocations: 0 / 442.5 MB, free: 3.059 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.05158, allocations: 0 / 442.5 MB, free: 3.059 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.05197, allocations: 491.9 kB / 442.9 MB, free: 2.574 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.05309, allocations: 1.71 MB / 444.7 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.401e-05/0.05313, allocations: 55.36 kB / 444.7 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.589e-05/0.05314, allocations: 8.094 kB / 444.7 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.05316, allocations: 16.48 kB / 444.7 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.05316, allocations: 0 / 444.7 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1732/0.2264, allocations: 24.17 MB / 468.9 MB, free: 88.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.217/7.444, allocations: 13.05 kB / 468.9 MB, free: 88.8 MB / 410.7 MB " [Timeout remaining time 652] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter_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_State_ph_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.23495299834758] Failed to read output from testmodel.py, exit status != 0: 7.532785690389574 7.541590107 7.504099415 Calling exit ...