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.0008762/0.0008762, 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.001571/0.001571, 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.8879/0.8879, 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.02881/0.02881, allocations: 7.518 MB / 266.7 MB, free: 6.195 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.412e-06/1.412e-06, allocations: 0 / 391.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.567e-05, allocations: 2.281 kB / 391.8 MB, free: 6.297 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.2732/0.2732, allocations: 176.2 MB / 0.5547 GB, free: 13.28 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.3088/0.582, allocations: 127.5 MB / 0.6792 GB, free: 128 kB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006611/0.5827, allocations: 13.81 kB / 0.6792 GB, free: 128 kB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.003183/0.5858, allocations: 1.672 MB / 0.6809 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004032/0.5899, allocations: 2.444 MB / 0.6833 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.07344/0.6633, allocations: 42.24 MB / 0.7245 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002044/0.6654, allocations: 2.006 MB / 0.7265 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.6656, allocations: 135.2 kB / 0.7266 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.6667, allocations: 1.137 MB / 0.7277 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004376/0.6671, allocations: 486.5 kB / 0.7282 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/0.6672, allocations: 58.44 kB / 0.7282 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04637/0.7136, allocations: 32.6 MB / 0.76 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003028/0.7139, allocations: 178.4 kB / 0.7602 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005755/0.7144, allocations: 310.2 kB / 0.7605 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.04209/0.7565, allocations: 19.28 MB / 0.7793 GB, free: 9.211 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.7565, allocations: 8 kB / 0.7793 GB, free: 9.203 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7565, allocations: 0 / 0.7793 GB, free: 9.203 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.7565, allocations: 0 / 0.7793 GB, free: 9.203 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.006246/0.7628, allocations: 3.394 MB / 0.7827 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.7628, allocations: 8.031 kB / 0.7827 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.945e-05/0.7629, allocations: 106.5 kB / 0.7828 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004963/0.7634, allocations: 127.5 kB / 0.7829 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.7639, allocations: 350.7 kB / 0.7832 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.7639, allocations: 45.88 kB / 0.7833 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.764, allocations: 51.94 kB / 0.7833 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.7651, allocations: 1.027 MB / 0.7843 GB, free: 4.004 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.7651, allocations: 0 / 0.7843 GB, free: 4.004 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.7651, allocations: 30.8 kB / 0.7844 GB, free: 3.977 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.7651, allocations: 22.41 kB / 0.7844 GB, free: 3.957 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009894/0.7661, allocations: 0.7593 MB / 0.7851 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.7681, allocations: 2.291 MB / 0.7874 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008772/0.769, allocations: 0.648 MB / 0.788 GB, free: 244 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005701/0.7696, allocations: 454.7 kB / 0.7884 GB, free: 15.8 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.132/0.9016, allocations: 58.71 MB / 0.8458 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.9016, allocations: 39.06 kB / 0.8458 GB, free: 5.129 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=109): time 3.387e-06/0.9016, allocations: 0 / 0.8458 GB, free: 5.129 MB / 0.6198 GB Notification: Performance of matching and sorting (n=117): time 0.005438/0.907, allocations: 3.356 MB / 0.8491 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.9071, allocations: 58.91 kB / 0.8491 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.9073, allocations: 316.3 kB / 0.8494 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.9074, allocations: 41.7 kB / 0.8495 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.9075, allocations: 229.5 kB / 0.8497 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.9077, allocations: 400.2 kB / 0.8501 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.9078, allocations: 138.3 kB / 0.8502 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.9079, allocations: 370.8 kB / 0.8506 GB, free: 192 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.9083, allocations: 405.7 kB / 0.8509 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.9088, allocations: 0.5464 MB / 0.8515 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.91, allocations: 0.998 MB / 0.8524 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.91, allocations: 3 kB / 0.8524 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001292/0.9113, allocations: 1.16 MB / 0.8536 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.9113, allocations: 11.94 kB / 0.8536 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.9113, allocations: 4 kB / 0.8536 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002429/0.9115, allocations: 103 kB / 0.8537 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005695/0.9121, allocations: 208.4 kB / 0.8539 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.315/1.227, allocations: 34.96 MB / 0.888 GB, free: 119.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/1.228, allocations: 43.22 kB / 0.8881 GB, free: 119.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/1.228, allocations: 24.16 kB / 0.8881 GB, free: 119.6 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.000297/1.228, allocations: 219.6 kB / 0.8883 GB, free: 119.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/1.228, allocations: 64.95 kB / 0.8884 GB, free: 119.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/1.231, allocations: 2.441 MB / 0.8908 GB, free: 119.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/1.231, allocations: 19.81 kB / 0.8908 GB, free: 119.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.231, allocations: 1.469 kB / 0.8908 GB, free: 119.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00151/1.232, allocations: 1.693 MB / 0.8924 GB, free: 118.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/1.234, allocations: 2.412 MB / 0.8948 GB, free: 118.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-06/1.234, allocations: 0.5938 kB / 0.8948 GB, free: 118.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/1.235, allocations: 123.3 kB / 0.8949 GB, free: 118.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002764/1.235, allocations: 215.3 kB / 0.8951 GB, free: 118.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/1.235, allocations: 13.22 kB / 0.8951 GB, free: 118.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/1.236, allocations: 3.78 MB / 0.8988 GB, free: 115 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.236, allocations: 2.875 kB / 0.8988 GB, free: 115 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/1.238, allocations: 2.025 MB / 0.9008 GB, free: 114.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/1.238, allocations: 63.92 kB / 0.9009 GB, free: 114.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/1.238, allocations: 14.22 kB / 0.9009 GB, free: 114.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/1.239, allocations: 38.77 kB / 0.9009 GB, free: 114.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/1.239, allocations: 66.22 kB / 0.901 GB, free: 114.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/1.239, allocations: 16.31 kB / 0.901 GB, free: 114.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001924/1.239, allocations: 259.3 kB / 0.9012 GB, free: 114.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/1.239, allocations: 0 / 0.9012 GB, free: 114.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01259/1.252, allocations: 5.54 MB / 0.9066 GB, free: 114.7 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.02516/1.277, allocations: 9.767 MB / 0.9162 GB, free: 113 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002135/1.279, allocations: 1.519 MB / 0.9177 GB, free: 112.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.279, allocations: 4.031 kB / 0.9177 GB, free: 112.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007853/1.28, allocations: 0.7967 MB / 0.9184 GB, free: 112.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/1.281, allocations: 0.5122 MB / 0.9189 GB, free: 112.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/1.296, allocations: 8.675 MB / 0.9274 GB, free: 109.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/1.296, allocations: 339.2 kB / 0.9277 GB, free: 109.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000494/1.297, allocations: 186.1 kB / 0.9279 GB, free: 109.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/1.297, allocations: 255.4 kB / 0.9282 GB, free: 109.1 MB / 0.6355 GB Notification: Performance of SimCode: time 1.232e-06/1.297, allocations: 0 / 0.9282 GB, free: 109.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4253/1.722, allocations: 214.1 MB / 1.137 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/14.12, allocations: 11.12 kB / 1.137 GB, free: 207.5 MB / 0.6823 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel2_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel2.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.008899204432964] Failed to read output from testmodel.py, exit status != 0: 14.313348448835313 14.320957316 13.562711194 Calling exit ...