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.001381/0.001381, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001541/0.001541, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.49/1.49, allocations: 207.6 MB / 233 MB, free: 10.01 MB / 190.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.05126/0.05126, allocations: 9.147 MB / 294.4 MB, free: 12.71 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.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.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002889/0.002889, allocations: 80.25 kB / 411.1 MB, free: 46.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09325/0.09614, allocations: 50.76 MB / 461.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.3806/0.4767, allocations: 129.3 MB / 0.5773 GB, free: 300 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1194/0.5961, allocations: 111.4 MB / 0.6862 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007167/0.5968, allocations: 11.94 kB / 0.6862 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003678/0.6005, allocations: 1.551 MB / 0.6877 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004577/0.6051, allocations: 1.829 MB / 0.6895 GB, free: 4.074 MB / 0.4981 GB [/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.07809/0.6832, allocations: 31.36 MB / 0.7201 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002051/0.6852, allocations: 1.425 MB / 0.7215 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.6855, allocations: 85.89 kB / 0.7216 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01789/0.7034, allocations: 9.36 MB / 0.7307 GB, free: 9.711 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006198/0.704, allocations: 394.4 kB / 0.7311 GB, free: 9.324 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.724e-05/0.7041, allocations: 47.94 kB / 0.7311 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3335/1.038, allocations: 36.37 MB / 0.7667 GB, free: 47.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002695/1.038, allocations: 119.3 kB / 0.7668 GB, free: 47.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005373/1.038, allocations: 308.4 kB / 0.7671 GB, free: 47.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04094/1.079, allocations: 14.13 MB / 0.7809 GB, free: 46.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.079, allocations: 0 / 0.7809 GB, free: 46.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/1.079, allocations: 0 / 0.7809 GB, free: 46.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.387e-05/1.079, allocations: 0 / 0.7809 GB, free: 46.87 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.007082/1.086, allocations: 2.605 MB / 0.7834 GB, free: 45.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/1.087, allocations: 14.64 kB / 0.7834 GB, free: 45.44 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/1.087, allocations: 81.64 kB / 0.7835 GB, free: 45.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007051/1.087, allocations: 95.55 kB / 0.7836 GB, free: 45.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/1.088, allocations: 284.2 kB / 0.7839 GB, free: 45.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/1.088, allocations: 31.47 kB / 0.7839 GB, free: 45.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.835e-05/1.088, allocations: 32.06 kB / 0.7839 GB, free: 45.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/1.089, allocations: 0.6093 MB / 0.7845 GB, free: 45.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/1.089, allocations: 3.594 kB / 0.7845 GB, free: 45.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/1.089, allocations: 14.78 kB / 0.7845 GB, free: 45.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/1.089, allocations: 18.92 kB / 0.7846 GB, free: 45.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/1.091, allocations: 0.5592 MB / 0.7851 GB, free: 45.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002149/1.093, allocations: 2.523 MB / 0.7876 GB, free: 43.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/1.094, allocations: 493.5 kB / 0.788 GB, free: 43.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004518/1.094, allocations: 312.7 kB / 0.7883 GB, free: 43.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1855/1.28, allocations: 43.91 MB / 0.8312 GB, free: 17.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/1.28, allocations: 41.12 kB / 0.8313 GB, free: 17.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=79): time 3.206e-06/1.28, allocations: 0 / 0.8313 GB, free: 17.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=83): time 0.00546/1.285, allocations: 2.238 MB / 0.8334 GB, free: 15.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/1.285, allocations: 55.41 kB / 0.8335 GB, free: 15.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/1.286, allocations: 251.8 kB / 0.8337 GB, free: 15.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/1.286, allocations: 37.58 kB / 0.8338 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/1.286, allocations: 187.8 kB / 0.8339 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/1.286, allocations: 275 kB / 0.8342 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/1.286, allocations: 100.6 kB / 0.8343 GB, free: 14.67 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.192e-05/1.286, allocations: 358.2 kB / 0.8346 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/1.286, allocations: 281.1 kB / 0.8349 GB, free: 14.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000445/1.287, allocations: 406.6 kB / 0.8353 GB, free: 13.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008976/1.288, allocations: 0.7211 MB / 0.836 GB, free: 13.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.288, allocations: 7.984 kB / 0.836 GB, free: 13.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001226/1.289, allocations: 0.8004 MB / 0.8368 GB, free: 12.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.289, allocations: 5.875 kB / 0.8368 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.289, allocations: 6.531 kB / 0.8368 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/1.289, allocations: 68.16 kB / 0.8369 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/1.29, allocations: 97.66 kB / 0.837 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0645/1.354, allocations: 17.01 MB / 0.8536 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/1.354, allocations: 24.77 kB / 0.8536 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/1.354, allocations: 19.94 kB / 0.8536 GB, free: 12.12 MB / 0.5606 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.0002801/1.355, allocations: 193.3 kB / 0.8538 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.711e-05/1.355, allocations: 43.72 kB / 0.8538 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/1.357, allocations: 1.588 MB / 0.8554 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/1.357, allocations: 11.92 kB / 0.8554 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/1.357, allocations: 0 / 0.8554 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001528/1.358, allocations: 1.172 MB / 0.8566 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/1.361, allocations: 1.605 MB / 0.8581 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.361, allocations: 4 kB / 0.8581 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/1.361, allocations: 85.94 kB / 0.8582 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002137/1.361, allocations: 44.78 kB / 0.8582 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/1.361, allocations: 11 kB / 0.8583 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/1.363, allocations: 1.316 MB / 0.8595 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.363, allocations: 2.344 kB / 0.8595 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/1.364, allocations: 1.215 MB / 0.8607 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.633e-05/1.365, allocations: 35.75 kB / 0.8608 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.952e-05/1.365, allocations: 11.75 kB / 0.8608 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003027/1.365, allocations: 23.91 kB / 0.8608 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.365, allocations: 47.67 kB / 0.8608 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/1.365, allocations: 19.67 kB / 0.8609 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000266/1.365, allocations: 240.2 kB / 0.8611 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/1.365, allocations: 4.062 kB / 0.8611 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01299/1.378, allocations: 3.577 MB / 0.8646 GB, free: 2.516 MB / 0.5606 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.02321/1.402, allocations: 6.228 MB / 0.8707 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001891/1.403, allocations: 0.9285 MB / 0.8716 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.403, allocations: 0 / 0.8716 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008591/1.404, allocations: 473.4 kB / 0.872 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/1.406, allocations: 385.4 kB / 0.8724 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/1.419, allocations: 6.399 MB / 0.8786 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/1.42, allocations: 0.8545 MB / 0.8795 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004762/1.42, allocations: 165 kB / 0.8796 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/1.42, allocations: 168 kB / 0.8798 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/1.42, allocations: 0 / 0.8798 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4316/1.852, allocations: 132.8 MB / 1.009 GB, free: 241.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.29/20.14, allocations: 5.141 kB / 1.009 GB, free: 241.8 MB / 0.67 GB " [Timeout remaining time 640] (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel_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_R134aTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.8800574459965] Failed to read output from testmodel.py, exit status != 0: 20.339376852003625 20.351000152 19.268810286 Calling exit ...