Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.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.001365/0.001365, allocations: 79.19 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001604/0.001604, allocations: 160.9 kB / 23.01 MB, free: 4.598 MB / 14.72 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 1.432/1.432, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.1 MB " [Timeout remaining time 178] 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.06717/0.06717, allocations: 7.54 MB / 267.3 MB, free: 9.598 MB / 254.1 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: translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 71.89 kB / 392.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1039, allocations: 54.91 MB / 447.7 MB, free: 4.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.3196/0.4235, allocations: 115 MB / 0.5495 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1159/0.5394, allocations: 98.62 MB / 0.6458 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006974/0.5401, allocations: 7.938 kB / 0.6458 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003442/0.5435, allocations: 1.225 MB / 0.647 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004192/0.5477, allocations: 1.575 MB / 0.6485 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.07775/0.6254, allocations: 31.18 MB / 0.679 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002208/0.6276, allocations: 1.418 MB / 0.6803 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.6279, allocations: 81.92 kB / 0.6804 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01901/0.6469, allocations: 9.284 MB / 0.6895 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006787/0.6476, allocations: 378.5 kB / 0.6899 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.344e-05/0.6476, allocations: 40 kB / 0.6899 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3341/0.9818, allocations: 24.23 MB / 0.7136 GB, free: 38.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003033/0.9821, allocations: 122.7 kB / 0.7137 GB, free: 38.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005524/0.9826, allocations: 256.5 kB / 0.7139 GB, free: 38.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04127/1.024, allocations: 12.29 MB / 0.7259 GB, free: 37.67 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.024, allocations: 0.8125 kB / 0.7259 GB, free: 37.67 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/1.024, allocations: 0 / 0.7259 GB, free: 37.67 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.187e-05/1.024, allocations: 5.031 kB / 0.7259 GB, free: 37.66 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.01005/1.034, allocations: 2.587 MB / 0.7285 GB, free: 36.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.034, allocations: 10.22 kB / 0.7285 GB, free: 36.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000658/1.035, allocations: 90.16 kB / 0.7285 GB, free: 36.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/1.035, allocations: 283.5 kB / 0.7288 GB, free: 36.06 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/1.035, allocations: 28.44 kB / 0.7288 GB, free: 36.06 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.833e-05/1.035, allocations: 32.47 kB / 0.7289 GB, free: 36.06 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/1.037, allocations: 0.7632 MB / 0.7296 GB, free: 35.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/1.037, allocations: 4.062 kB / 0.7296 GB, free: 35.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/1.037, allocations: 18.72 kB / 0.7296 GB, free: 35.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/1.037, allocations: 16.62 kB / 0.7297 GB, free: 35.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/1.038, allocations: 0.552 MB / 0.7302 GB, free: 35.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/1.04, allocations: 1.639 MB / 0.7318 GB, free: 35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/1.042, allocations: 488.9 kB / 0.7323 GB, free: 34.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005321/1.042, allocations: 315.2 kB / 0.7326 GB, free: 34.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1946/1.237, allocations: 44.03 MB / 0.7756 GB, free: 20.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/1.237, allocations: 38.03 kB / 0.7756 GB, free: 20.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.855e-06/1.237, allocations: 0 / 0.7756 GB, free: 20.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.005775/1.242, allocations: 2.237 MB / 0.7778 GB, free: 18.58 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/1.243, allocations: 61.02 kB / 0.7778 GB, free: 18.51 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/1.243, allocations: 230.2 kB / 0.7781 GB, free: 18.31 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/1.243, allocations: 33.45 kB / 0.7781 GB, free: 18.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/1.243, allocations: 191.4 kB / 0.7783 GB, free: 18.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/1.243, allocations: 285.4 kB / 0.7786 GB, free: 17.87 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/1.243, allocations: 96.61 kB / 0.7786 GB, free: 17.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.101e-05/1.243, allocations: 348.1 kB / 0.779 GB, free: 17.47 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/1.244, allocations: 286.5 kB / 0.7792 GB, free: 17.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/1.244, allocations: 402.6 kB / 0.7796 GB, free: 16.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009536/1.245, allocations: 0.7257 MB / 0.7803 GB, free: 16.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.245, allocations: 0 / 0.7803 GB, free: 16.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00132/1.246, allocations: 0.8121 MB / 0.7811 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.246, allocations: 4.438 kB / 0.7811 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.246, allocations: 4 kB / 0.7811 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002519/1.247, allocations: 64.73 kB / 0.7812 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/1.247, allocations: 100.9 kB / 0.7813 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06595/1.313, allocations: 16.95 MB / 0.7979 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004956/1.313, allocations: 31.78 kB / 0.7979 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/1.314, allocations: 21.3 kB / 0.7979 GB, free: 15.45 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 9 (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 (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003284/1.314, allocations: 193.8 kB / 0.7981 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/1.314, allocations: 40.91 kB / 0.7981 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/1.316, allocations: 1.588 MB / 0.7997 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/1.316, allocations: 22.98 kB / 0.7997 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/1.316, allocations: 0 / 0.7997 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001594/1.318, allocations: 1.177 MB / 0.8009 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/1.32, allocations: 1.487 MB / 0.8023 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.32, allocations: 0 / 0.8023 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/1.321, allocations: 82.88 kB / 0.8024 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/1.321, allocations: 48.8 kB / 0.8024 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/1.321, allocations: 12.36 kB / 0.8024 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/1.322, allocations: 1.293 MB / 0.8037 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.322, allocations: 0 / 0.8037 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/1.324, allocations: 1.203 MB / 0.8049 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/1.324, allocations: 35.73 kB / 0.8049 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.649e-05/1.324, allocations: 23.62 kB / 0.8049 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/1.325, allocations: 19.23 kB / 0.805 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/1.325, allocations: 47.47 kB / 0.805 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/1.325, allocations: 11.94 kB / 0.805 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002552/1.325, allocations: 223.9 kB / 0.8052 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.325, allocations: 4 kB / 0.8052 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01373/1.339, allocations: 3.573 MB / 0.8087 GB, free: 6.012 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($cse8.phase,$cse9.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02574/1.364, allocations: 4.578 MB / 0.8132 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002292/1.367, allocations: 0.927 MB / 0.8141 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.367, allocations: 0 / 0.8141 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/1.368, allocations: 481 kB / 0.8146 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/1.37, allocations: 364 kB / 0.8149 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/1.373, allocations: 1.169 MB / 0.816 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/1.373, allocations: 254.2 kB / 0.8163 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005458/1.374, allocations: 157.7 kB / 0.8164 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/1.374, allocations: 44.48 kB / 0.8165 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.373e-06/1.374, allocations: 0 / 0.8165 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.2129/1.587, allocations: 125.7 MB / 0.9392 GB, free: 2.449 MB / 0.7012 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.783747378969565] Failed to read output from testmodel.py, exit status != 0: 1.5960492559242994 1.828147664 0.801451554 Calling exit ...