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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 102.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 207.6 MB / 229.8 MB, free: 4.25 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0504/0.0504, allocations: 9.155 MB / 290.8 MB, free: 7.316 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 78.58 kB / 405.9 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.259, allocations: 50.71 MB / 456.6 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.159/0.418, allocations: 129.1 MB / 0.5719 GB, free: 6.359 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3605/0.7785, allocations: 111.3 MB / 0.6806 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007898/0.7793, allocations: 12.72 kB / 0.6806 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003108/0.7824, allocations: 1.549 MB / 0.6822 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003148/0.7855, allocations: 1.835 MB / 0.6839 GB, free: 15.89 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.08146/0.867, allocations: 31.16 MB / 0.7144 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002281/0.8693, allocations: 1.401 MB / 0.7157 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.8695, allocations: 96.7 kB / 0.7158 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01605/0.8855, allocations: 9.15 MB / 0.7248 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005473/0.8861, allocations: 393.4 kB / 0.7251 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.766e-05/0.8862, allocations: 44 kB / 0.7252 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07932/0.9655, allocations: 35.43 MB / 0.7598 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.9657, allocations: 128.5 kB / 0.7599 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005059/0.9662, allocations: 302.5 kB / 0.7602 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.04119/1.007, allocations: 14.09 MB / 0.774 GB, free: 8.152 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.007, allocations: 4 kB / 0.774 GB, free: 8.148 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.475e-06/1.007, allocations: 0 / 0.774 GB, free: 8.148 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.312e-05/1.007, allocations: 7.562 kB / 0.774 GB, free: 8.145 MB / 0.545 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.00688/1.014, allocations: 2.672 MB / 0.7766 GB, free: 5.426 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.014, allocations: 8.031 kB / 0.7766 GB, free: 5.418 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/1.014, allocations: 91.52 kB / 0.7767 GB, free: 5.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006536/1.015, allocations: 95.62 kB / 0.7768 GB, free: 5.227 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006268/1.016, allocations: 338 kB / 0.7771 GB, free: 4.859 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/1.016, allocations: 32.66 kB / 0.7771 GB, free: 4.828 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.929e-05/1.016, allocations: 32 kB / 0.7771 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/1.017, allocations: 0.5971 MB / 0.7777 GB, free: 4.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/1.017, allocations: 7.938 kB / 0.7777 GB, free: 4.172 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/1.017, allocations: 16 kB / 0.7777 GB, free: 4.156 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/1.017, allocations: 14.72 kB / 0.7778 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/1.019, allocations: 0.5454 MB / 0.7783 GB, free: 3.602 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/1.022, allocations: 2.552 MB / 0.7808 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/1.023, allocations: 479.8 kB / 0.7812 GB, free: 356 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005549/1.023, allocations: 302.3 kB / 0.7815 GB, free: 52 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4262/1.45, allocations: 139 MB / 0.9173 GB, free: 203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/1.45, allocations: 34.84 kB / 0.9173 GB, free: 203 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=79): time 3.466e-06/1.45, allocations: 0 / 0.9173 GB, free: 203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83): time 0.005306/1.455, allocations: 2.342 MB / 0.9196 GB, free: 200.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/1.455, allocations: 58.97 kB / 0.9196 GB, free: 200.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/1.455, allocations: 253 kB / 0.9199 GB, free: 200.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/1.455, allocations: 29.7 kB / 0.9199 GB, free: 200.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/1.455, allocations: 195.6 kB / 0.9201 GB, free: 200.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/1.455, allocations: 281.3 kB / 0.9204 GB, free: 199.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/1.456, allocations: 94.11 kB / 0.9205 GB, free: 199.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.577e-05/1.456, allocations: 350.8 kB / 0.9208 GB, free: 199.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004091/1.456, allocations: 276.1 kB / 0.9211 GB, free: 199.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/1.456, allocations: 389.4 kB / 0.9214 GB, free: 198.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009008/1.457, allocations: 0.6997 MB / 0.9221 GB, free: 198 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.457, allocations: 2.219 kB / 0.9221 GB, free: 198 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00139/1.459, allocations: 0.8009 MB / 0.9229 GB, free: 197.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.459, allocations: 4 kB / 0.9229 GB, free: 197.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.459, allocations: 7 kB / 0.9229 GB, free: 197.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002503/1.459, allocations: 61.67 kB / 0.923 GB, free: 197.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/1.459, allocations: 95.88 kB / 0.9231 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06305/1.522, allocations: 17.2 MB / 0.9399 GB, free: 179.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/1.523, allocations: 31.97 kB / 0.9399 GB, free: 179.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/1.523, allocations: 20 kB / 0.9399 GB, free: 179.3 MB / 0.6075 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.000229/1.523, allocations: 190.8 kB / 0.9401 GB, free: 179.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.099e-05/1.523, allocations: 47.7 kB / 0.9401 GB, free: 179.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/1.525, allocations: 1.542 MB / 0.9416 GB, free: 177.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/1.525, allocations: 10.48 kB / 0.9417 GB, free: 177.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/1.525, allocations: 7.938 kB / 0.9417 GB, free: 177.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001059/1.526, allocations: 1.138 MB / 0.9428 GB, free: 176.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/1.528, allocations: 1.586 MB / 0.9443 GB, free: 174.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.528, allocations: 0 / 0.9443 GB, free: 174.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/1.528, allocations: 87.91 kB / 0.9444 GB, free: 174.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/1.528, allocations: 44.61 kB / 0.9444 GB, free: 174.4 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/1.528, allocations: 15.92 kB / 0.9445 GB, free: 174.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007036/1.529, allocations: 1.418 MB / 0.9458 GB, free: 172.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.529, allocations: 4.031 kB / 0.9458 GB, free: 172.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/1.53, allocations: 1.178 MB / 0.947 GB, free: 171.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-05/1.53, allocations: 119.4 kB / 0.9471 GB, free: 171.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/1.53, allocations: 8 kB / 0.9471 GB, free: 171.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/1.531, allocations: 23.97 kB / 0.9471 GB, free: 171.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/1.531, allocations: 55.94 kB / 0.9472 GB, free: 171.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/1.531, allocations: 15.98 kB / 0.9472 GB, free: 171.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001785/1.531, allocations: 239.1 kB / 0.9474 GB, free: 171.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/1.531, allocations: 0 / 0.9474 GB, free: 171.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008346/1.539, allocations: 3.579 MB / 0.9509 GB, free: 168 MB / 0.6075 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.01968/1.559, allocations: 6.215 MB / 0.957 GB, free: 162.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001542/1.56, allocations: 0.8945 MB / 0.9579 GB, free: 161.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.56, allocations: 0 / 0.9579 GB, free: 161.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006525/1.561, allocations: 471.7 kB / 0.9583 GB, free: 160.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/1.563, allocations: 377 kB / 0.9587 GB, free: 160.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/1.573, allocations: 6.322 MB / 0.9649 GB, free: 154 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/1.573, allocations: 0.8565 MB / 0.9657 GB, free: 153.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004276/1.574, allocations: 156.5 kB / 0.9658 GB, free: 152.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/1.574, allocations: 171.4 kB / 0.966 GB, free: 152.8 MB / 0.6075 GB Notification: Performance of SimCode: time 8.92e-07/1.574, allocations: 0 / 0.966 GB, free: 152.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1781/1.752, allocations: 132.2 MB / 1.095 GB, free: 20.46 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.85/18.61, allocations: 11.88 kB / 1.095 GB, free: 20.45 MB / 0.6075 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_R134aTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.518989333882928] Failed to read output from testmodel.py, exit status != 0: 18.78792936913669 18.807937052 17.796383612 Calling exit ...