Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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.0007697/0.0007697, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000861/0.000861, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.946/0.946, allocations: 177.2 MB / 202.8 MB, free: 5.719 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.02911/0.02911, allocations: 7.513 MB / 266.7 MB, free: 6.184 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.IsopentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsopentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 391.8 MB, free: 6.293 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.711e-05, allocations: 2.281 kB / 391.8 MB, free: 6.289 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.2534/0.2534, allocations: 114.7 MB / 0.4946 GB, free: 24.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.06831/0.3217, allocations: 98.6 MB / 0.5909 GB, free: 8.457 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006968/0.3224, allocations: 7.938 kB / 0.5909 GB, free: 8.449 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00275/0.3252, allocations: 1.24 MB / 0.5921 GB, free: 7.207 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003285/0.3284, allocations: 1.606 MB / 0.5937 GB, free: 5.594 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05851/0.3869, allocations: 31.56 MB / 0.6245 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001608/0.3886, allocations: 1.425 MB / 0.6259 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.3888, allocations: 89.7 kB / 0.626 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2476/0.6363, allocations: 11.18 MB / 0.6369 GB, free: 29.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003987/0.6367, allocations: 339.7 kB / 0.6372 GB, free: 29.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.377e-05/0.6368, allocations: 41.06 kB / 0.6373 GB, free: 29.95 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03867/0.6754, allocations: 24.05 MB / 0.6607 GB, free: 29.89 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.6757, allocations: 132.2 kB / 0.6609 GB, free: 29.89 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000505/0.6762, allocations: 212.4 kB / 0.6611 GB, free: 29.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.03823/0.7145, allocations: 14.37 MB / 0.6751 GB, free: 29.42 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.7145, allocations: 0 / 0.6751 GB, free: 29.42 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.906e-06/0.7145, allocations: 4 kB / 0.6751 GB, free: 29.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.7145, allocations: 1.062 kB / 0.6751 GB, free: 29.41 MB / 0.4948 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.005616/0.7201, allocations: 2.582 MB / 0.6776 GB, free: 27.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.7201, allocations: 11.28 kB / 0.6776 GB, free: 27.96 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.326e-05/0.7202, allocations: 86.84 kB / 0.6777 GB, free: 27.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003914/0.7206, allocations: 93.5 kB / 0.6778 GB, free: 27.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.721, allocations: 282.7 kB / 0.6781 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.721, allocations: 31.11 kB / 0.6781 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.7211, allocations: 33.5 kB / 0.6781 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008083/0.7219, allocations: 0.7605 MB / 0.6789 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.7219, allocations: 8.859 kB / 0.6789 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.7219, allocations: 12.69 kB / 0.6789 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.7219, allocations: 15.72 kB / 0.6789 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007487/0.7227, allocations: 0.5512 MB / 0.6795 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.7242, allocations: 1.721 MB / 0.6811 GB, free: 26.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006234/0.7248, allocations: 466.1 kB / 0.6816 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.7251, allocations: 315.5 kB / 0.6819 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09467/0.8198, allocations: 44.05 MB / 0.7249 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.8198, allocations: 36.62 kB / 0.7249 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=77): time 3.997e-06/0.8198, allocations: 0 / 0.7249 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81): time 0.003881/0.8237, allocations: 2.253 MB / 0.7271 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.8237, allocations: 55.41 kB / 0.7272 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.824, allocations: 263.2 kB / 0.7274 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.824, allocations: 29.64 kB / 0.7275 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.851e-05/0.8241, allocations: 194.7 kB / 0.7277 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.8242, allocations: 274.1 kB / 0.7279 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.493e-05/0.8243, allocations: 99.17 kB / 0.728 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.8244, allocations: 348.3 kB / 0.7283 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.8247, allocations: 294.9 kB / 0.7286 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.8251, allocations: 403.4 kB / 0.729 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006488/0.8257, allocations: 0.7192 MB / 0.7297 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8257, allocations: 0 / 0.7297 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008785/0.8266, allocations: 0.82 MB / 0.7305 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.8266, allocations: 8 kB / 0.7305 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.8266, allocations: 1.781 kB / 0.7305 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001756/0.8268, allocations: 65.17 kB / 0.7306 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/0.8272, allocations: 145.9 kB / 0.7307 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03633/0.8636, allocations: 18.24 MB / 0.7485 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.8639, allocations: 27.66 kB / 0.7486 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.864, allocations: 19.88 kB / 0.7486 GB, free: 8.453 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 3 systems {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): 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.0002547/0.8642, allocations: 184.8 kB / 0.7488 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.8643, allocations: 47.78 kB / 0.7488 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.8656, allocations: 1.751 MB / 0.7505 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.8656, allocations: 11.22 kB / 0.7505 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8656, allocations: 7.312 kB / 0.7505 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009658/0.8666, allocations: 1.312 MB / 0.7518 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.8681, allocations: 1.713 MB / 0.7535 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.8681, allocations: 4 kB / 0.7535 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.8683, allocations: 67.14 kB / 0.7535 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001993/0.8685, allocations: 167.1 kB / 0.7537 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.8685, allocations: 11.81 kB / 0.7537 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.8697, allocations: 2.472 MB / 0.7561 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.8697, allocations: 0 / 0.7561 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.8709, allocations: 1.413 MB / 0.7575 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.871, allocations: 43.75 kB / 0.7576 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.871, allocations: 15.5 kB / 0.7576 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.8712, allocations: 27.53 kB / 0.7576 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/0.8713, allocations: 47.72 kB / 0.7576 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.8713, allocations: 8 kB / 0.7576 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001582/0.8715, allocations: 222 kB / 0.7579 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.8715, allocations: 0 / 0.7579 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007937/0.8794, allocations: 3.571 MB / 0.7613 GB, free: 13.26 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01689/0.8963, allocations: 6.617 MB / 0.7678 GB, free: 7.648 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.8979, allocations: 1.018 MB / 0.7688 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.8979, allocations: 4 kB / 0.7688 GB, free: 6.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004796/0.8984, allocations: 0.4912 MB / 0.7693 GB, free: 6.473 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.8995, allocations: 404.9 kB / 0.7697 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.9113, allocations: 6.3 MB / 0.7758 GB, free: 0.7539 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.9115, allocations: 250.2 kB / 0.7761 GB, free: 496 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003927/0.9119, allocations: 134.5 kB / 0.7762 GB, free: 364 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.9121, allocations: 170.3 kB / 0.7764 GB, free: 312 kB / 0.5417 GB Notification: Performance of SimCode: time 1.152e-06/0.9121, allocations: 0 / 0.7764 GB, free: 312 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.345/1.257, allocations: 135.1 MB / 0.9083 GB, free: 212.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/12.02, allocations: 6 kB / 0.9083 GB, free: 212.3 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel_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_IsopentaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.08798552211374] Failed to read output from testmodel.py, exit status != 0: 12.180865006521344 12.188476411 11.47232122 Calling exit ...