Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.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.0008091/0.0008091, 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.0008553/0.0008553, allocations: 170.3 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.8543/0.8543, 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.02792/0.02792, allocations: 7.515 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.MediaTestModels.R134aTestModel2,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 391.8 MB, free: 5.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35e-05/1.501e-05, allocations: 2.281 kB / 391.8 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.2698/0.2698, allocations: 176.2 MB / 0.5547 GB, free: 10.03 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.2856/0.5554, allocations: 127.5 MB / 0.6792 GB, free: 11.15 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009058/0.5563, allocations: 13.72 kB / 0.6792 GB, free: 11.15 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00361/0.5599, allocations: 1.68 MB / 0.6809 GB, free: 10.43 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004943/0.5648, allocations: 2.445 MB / 0.6833 GB, free: 9.258 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.07733/0.6422, allocations: 42.22 MB / 0.7245 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002541/0.6447, allocations: 2.006 MB / 0.7265 GB, free: 3.742 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/0.645, allocations: 132.9 kB / 0.7266 GB, free: 3.605 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.6464, allocations: 1.13 MB / 0.7277 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004878/0.6469, allocations: 495.9 kB / 0.7282 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.818e-05/0.647, allocations: 60 kB / 0.7282 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04694/0.6939, allocations: 32.59 MB / 0.76 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003563/0.6943, allocations: 175.3 kB / 0.7602 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0007014/0.695, allocations: 311.4 kB / 0.7605 GB, free: 0.7891 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.04636/0.7413, allocations: 19.28 MB / 0.7793 GB, free: 13.46 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.7414, allocations: 4 kB / 0.7793 GB, free: 13.46 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.983e-06/0.7414, allocations: 0 / 0.7793 GB, free: 13.46 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.7414, allocations: 0 / 0.7793 GB, free: 13.46 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.006637/0.748, allocations: 3.401 MB / 0.7827 GB, free: 10.03 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.748, allocations: 8.031 kB / 0.7827 GB, free: 10.02 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.697e-05/0.7481, allocations: 106.5 kB / 0.7828 GB, free: 9.906 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005187/0.7487, allocations: 123.5 kB / 0.7829 GB, free: 9.785 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/0.7491, allocations: 355.6 kB / 0.7832 GB, free: 9.406 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.353e-05/0.7492, allocations: 44.12 kB / 0.7833 GB, free: 9.367 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.314e-05/0.7492, allocations: 48 kB / 0.7833 GB, free: 9.32 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.7504, allocations: 1.032 MB / 0.7843 GB, free: 8.215 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.7504, allocations: 0 / 0.7843 GB, free: 8.215 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.7504, allocations: 27.94 kB / 0.7843 GB, free: 8.188 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.7505, allocations: 27.91 kB / 0.7844 GB, free: 8.16 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.7515, allocations: 0.7614 MB / 0.7851 GB, free: 7.402 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.7536, allocations: 2.287 MB / 0.7873 GB, free: 5.043 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008768/0.7545, allocations: 0.6588 MB / 0.788 GB, free: 4.383 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004472/0.7549, allocations: 455.1 kB / 0.7884 GB, free: 3.938 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.267/1.022, allocations: 58.71 MB / 0.8458 GB, free: 265.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/1.022, allocations: 35.06 kB / 0.8458 GB, free: 265.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=109): time 2.394e-06/1.022, allocations: 0 / 0.8458 GB, free: 265.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=117): time 0.00508/1.027, allocations: 3.351 MB / 0.8491 GB, free: 262 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/1.027, allocations: 63.89 kB / 0.8491 GB, free: 261.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/1.027, allocations: 309.1 kB / 0.8494 GB, free: 261.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/1.027, allocations: 37.7 kB / 0.8495 GB, free: 261.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/1.027, allocations: 237.5 kB / 0.8497 GB, free: 261.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/1.028, allocations: 397 kB / 0.8501 GB, free: 261 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/1.028, allocations: 142.3 kB / 0.8502 GB, free: 260.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.427e-05/1.028, allocations: 366.7 kB / 0.8506 GB, free: 260.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/1.028, allocations: 413.5 kB / 0.8509 GB, free: 260.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/1.028, allocations: 0.5395 MB / 0.8515 GB, free: 259.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007317/1.029, allocations: 1 MB / 0.8524 GB, free: 258.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.029, allocations: 6.875 kB / 0.8525 GB, free: 258.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001045/1.03, allocations: 1.161 MB / 0.8536 GB, free: 257.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/1.03, allocations: 4 kB / 0.8536 GB, free: 257.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.03, allocations: 4 kB / 0.8536 GB, free: 257.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/1.03, allocations: 109 kB / 0.8537 GB, free: 257.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005261/1.031, allocations: 203.7 kB / 0.8539 GB, free: 257 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06238/1.093, allocations: 34.98 MB / 0.8881 GB, free: 221.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/1.094, allocations: 31.97 kB / 0.8881 GB, free: 221.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/1.094, allocations: 31.98 kB / 0.8881 GB, free: 221.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002434/1.094, allocations: 227.1 kB / 0.8883 GB, free: 221 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.712e-05/1.094, allocations: 67.28 kB / 0.8884 GB, free: 220.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/1.096, allocations: 2.439 MB / 0.8908 GB, free: 218.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/1.096, allocations: 19.66 kB / 0.8908 GB, free: 218.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/1.096, allocations: 0 / 0.8908 GB, free: 218.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/1.097, allocations: 1.686 MB / 0.8924 GB, free: 216.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/1.098, allocations: 2.422 MB / 0.8948 GB, free: 214.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.098, allocations: 0 / 0.8948 GB, free: 214.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/1.098, allocations: 115.9 kB / 0.8949 GB, free: 214 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002309/1.099, allocations: 211.2 kB / 0.8951 GB, free: 213.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/1.099, allocations: 12 kB / 0.8951 GB, free: 213.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009816/1.1, allocations: 3.772 MB / 0.8988 GB, free: 209.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.1, allocations: 0 / 0.8988 GB, free: 209.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/1.101, allocations: 2.029 MB / 0.9008 GB, free: 207.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.581e-05/1.101, allocations: 60.25 kB / 0.9009 GB, free: 207.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/1.101, allocations: 12 kB / 0.9009 GB, free: 207.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/1.101, allocations: 31.97 kB / 0.9009 GB, free: 207.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/1.101, allocations: 75.2 kB / 0.901 GB, free: 207.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/1.102, allocations: 23.92 kB / 0.901 GB, free: 207.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001358/1.102, allocations: 263.2 kB / 0.9012 GB, free: 207.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/1.102, allocations: 0 / 0.9012 GB, free: 207.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01007/1.112, allocations: 5.538 MB / 0.9066 GB, free: 202.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 14 ($cse13.phase,$cse16.phase,$cse17.phase,$cse18.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase,volume1.medium.state.phase,volume1.medium.sat.liq.phase,volume1.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02077/1.132, allocations: 9.769 MB / 0.9162 GB, free: 193.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00185/1.134, allocations: 1.523 MB / 0.9177 GB, free: 191.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.134, allocations: 4 kB / 0.9177 GB, free: 191.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005936/1.135, allocations: 0.7944 MB / 0.9185 GB, free: 190.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/1.136, allocations: 0.5107 MB / 0.919 GB, free: 190.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/1.148, allocations: 8.697 MB / 0.9274 GB, free: 181.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/1.149, allocations: 333 kB / 0.9278 GB, free: 181.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004349/1.149, allocations: 185.2 kB / 0.9279 GB, free: 180.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/1.149, allocations: 256.4 kB / 0.9282 GB, free: 180.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.162e-06/1.149, allocations: 0 / 0.9282 GB, free: 180.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3741/1.523, allocations: 213.3 MB / 1.136 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/14.53, allocations: 0 / 1.136 GB, free: 120.9 MB / 0.5886 GB " [Timeout remaining time 645] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel2.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.466660130769014] Failed to read output from testmodel.py, exit status != 0: 14.724747036583722 14.73437524 13.99042283 Calling exit ...