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.0008583/0.0008583, 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.0008406/0.0008406, allocations: 165.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.906/0.906, 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.03108/0.03108, allocations: 7.515 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.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.713e-06/1.713e-06, allocations: 0 / 391.8 MB, free: 6.305 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.078e-05, allocations: 5.234 kB / 391.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.2868/0.2869, allocations: 176.2 MB / 0.5547 GB, free: 13.27 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.34/0.6269, allocations: 127.5 MB / 0.6792 GB, free: 164 kB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007545/0.6277, allocations: 17.16 kB / 0.6792 GB, free: 160 kB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.003128/0.6308, allocations: 1.676 MB / 0.6809 GB, free: 0 / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004386/0.6352, allocations: 2.436 MB / 0.6833 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0817/0.7169, allocations: 42.24 MB / 0.7245 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002671/0.7195, allocations: 2.01 MB / 0.7265 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.7198, allocations: 129.1 kB / 0.7266 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.7209, allocations: 1.137 MB / 0.7277 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000433/0.7213, allocations: 493.7 kB / 0.7282 GB, free: 4.504 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.812e-05/0.7214, allocations: 59.59 kB / 0.7282 GB, free: 4.504 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04991/0.7713, allocations: 32.59 MB / 0.76 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003195/0.7716, allocations: 175.3 kB / 0.7602 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0006176/0.7722, allocations: 311.6 kB / 0.7605 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0483/0.8205, allocations: 19.29 MB / 0.7793 GB, free: 9.266 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8206, allocations: 0 / 0.7793 GB, free: 9.266 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8206, allocations: 4 kB / 0.7793 GB, free: 9.262 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.8206, allocations: 0 / 0.7793 GB, free: 9.262 MB / 0.5573 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.007525/0.8281, allocations: 3.387 MB / 0.7827 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.8281, allocations: 11.31 kB / 0.7827 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.8283, allocations: 110.5 kB / 0.7828 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005099/0.8288, allocations: 119.5 kB / 0.7829 GB, free: 5.602 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/0.8293, allocations: 355.3 kB / 0.7832 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.8293, allocations: 41 kB / 0.7833 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.8294, allocations: 48.81 kB / 0.7833 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.8305, allocations: 1.031 MB / 0.7843 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.8305, allocations: 6.984 kB / 0.7843 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.8306, allocations: 27.94 kB / 0.7844 GB, free: 4.031 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.8306, allocations: 25.62 kB / 0.7844 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.8316, allocations: 0.7597 MB / 0.7851 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.834, allocations: 2.29 MB / 0.7874 GB, free: 0.9453 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008665/0.8348, allocations: 0.647 MB / 0.788 GB, free: 300 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.8353, allocations: 451.1 kB / 0.7884 GB, free: 15.85 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1292/0.9645, allocations: 58.71 MB / 0.8457 GB, free: 5.234 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.9645, allocations: 42.16 kB / 0.8458 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=109): time 2.655e-06/0.9645, allocations: 0 / 0.8458 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of matching and sorting (n=117): time 0.005312/0.9699, allocations: 3.353 MB / 0.8491 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.9699, allocations: 55.91 kB / 0.8491 GB, free: 1.738 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.9701, allocations: 316.3 kB / 0.8494 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.9702, allocations: 37.7 kB / 0.8495 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.9703, allocations: 236.2 kB / 0.8497 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.9705, allocations: 388.4 kB / 0.85 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003614/0.9708, allocations: 138.3 kB / 0.8502 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.838e-05/0.9709, allocations: 370.8 kB / 0.8505 GB, free: 260 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/0.9713, allocations: 405.8 kB / 0.8509 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/0.9718, allocations: 0.5504 MB / 0.8515 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000933/0.9728, allocations: 1.005 MB / 0.8524 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9728, allocations: 0 / 0.8524 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001206/0.974, allocations: 1.162 MB / 0.8536 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.974, allocations: 11.94 kB / 0.8536 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.974, allocations: 4 kB / 0.8536 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002278/0.9742, allocations: 107 kB / 0.8537 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/0.9747, allocations: 207.7 kB / 0.8539 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2269/1.202, allocations: 34.97 MB / 0.888 GB, free: 303.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/1.202, allocations: 43.67 kB / 0.8881 GB, free: 303.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/1.202, allocations: 27.02 kB / 0.8881 GB, free: 303.8 MB / 0.6355 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.0002603/1.202, allocations: 221.1 kB / 0.8883 GB, free: 303.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.813e-05/1.202, allocations: 61.81 kB / 0.8884 GB, free: 303.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/1.204, allocations: 2.446 MB / 0.8908 GB, free: 302.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/1.204, allocations: 23.7 kB / 0.8908 GB, free: 302.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.204, allocations: 3.422 kB / 0.8908 GB, free: 302.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/1.205, allocations: 1.693 MB / 0.8924 GB, free: 301.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/1.207, allocations: 2.405 MB / 0.8948 GB, free: 300.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.207, allocations: 4.062 kB / 0.8948 GB, free: 300.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/1.208, allocations: 118.4 kB / 0.8949 GB, free: 300.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002881/1.208, allocations: 210.8 kB / 0.8951 GB, free: 300.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/1.208, allocations: 13.19 kB / 0.8951 GB, free: 300.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/1.209, allocations: 3.784 MB / 0.8988 GB, free: 296.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.209, allocations: 1.375 kB / 0.8988 GB, free: 296.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/1.211, allocations: 2.026 MB / 0.9008 GB, free: 295.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.688e-05/1.211, allocations: 62.28 kB / 0.9009 GB, free: 295.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/1.211, allocations: 10.41 kB / 0.9009 GB, free: 295.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/1.211, allocations: 39.3 kB / 0.9009 GB, free: 295.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/1.211, allocations: 65.36 kB / 0.901 GB, free: 295.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/1.211, allocations: 22.61 kB / 0.901 GB, free: 295.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000219/1.212, allocations: 260.6 kB / 0.9012 GB, free: 295.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/1.212, allocations: 0 / 0.9012 GB, free: 295.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01308/1.225, allocations: 5.539 MB / 0.9066 GB, free: 295.3 MB / 0.6355 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.01952/1.244, allocations: 9.767 MB / 0.9162 GB, free: 292.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001906/1.246, allocations: 1.522 MB / 0.9177 GB, free: 291.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.246, allocations: 3.938 kB / 0.9177 GB, free: 291.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006439/1.247, allocations: 0.7937 MB / 0.9185 GB, free: 291.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/1.248, allocations: 0.5167 MB / 0.919 GB, free: 291.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009776/1.258, allocations: 8.674 MB / 0.9274 GB, free: 283.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/1.258, allocations: 339.9 kB / 0.9278 GB, free: 283.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003736/1.259, allocations: 181.7 kB / 0.9279 GB, free: 283.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/1.259, allocations: 249.5 kB / 0.9282 GB, free: 282.9 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/1.259, allocations: 0 / 0.9282 GB, free: 282.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2034/1.462, allocations: 214.1 MB / 1.137 GB, free: 72.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/14.15, allocations: 11.09 kB / 1.137 GB, free: 72.78 MB / 0.6355 GB " [Timeout remaining time 646] (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.21611055638641] Failed to read output from testmodel.py, exit status != 0: 14.341682228259742 14.35219394 13.530049862 Calling exit ...