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.0007364/0.0007364, 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.001608/0.001608, 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.8746/0.8746, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.02811/0.02811, allocations: 7.514 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.412e-06/1.412e-06, allocations: 0 / 391.8 MB, free: 6.297 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.457e-05, allocations: 2.281 kB / 391.8 MB, free: 6.293 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.2478/0.2478, allocations: 114.7 MB / 0.4946 GB, free: 24.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.06499/0.3128, allocations: 98.6 MB / 0.5909 GB, free: 8.469 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005771/0.3134, allocations: 7.938 kB / 0.5909 GB, free: 8.461 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002516/0.3159, allocations: 1.24 MB / 0.5921 GB, free: 7.219 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002568/0.3185, allocations: 1.614 MB / 0.5937 GB, free: 5.598 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05878/0.3772, allocations: 31.56 MB / 0.6245 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001591/0.3788, allocations: 1.433 MB / 0.6259 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.379, allocations: 89.7 kB / 0.626 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2395/0.6185, allocations: 11.18 MB / 0.6369 GB, free: 29.75 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004352/0.6189, allocations: 346.3 kB / 0.6372 GB, free: 29.75 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.619, allocations: 41.53 kB / 0.6373 GB, free: 29.75 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03794/0.6569, allocations: 24.03 MB / 0.6607 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.6571, allocations: 138.3 kB / 0.6609 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004589/0.6576, allocations: 218.8 kB / 0.6611 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.03593/0.6935, allocations: 14.36 MB / 0.6751 GB, free: 29.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.6935, allocations: 0 / 0.6751 GB, free: 29.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6935, allocations: 0 / 0.6751 GB, free: 29.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.6935, allocations: 0 / 0.6751 GB, free: 29.23 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.007292/0.7008, allocations: 2.59 MB / 0.6776 GB, free: 27.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.7009, allocations: 12.5 kB / 0.6776 GB, free: 27.78 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.694e-05/0.701, allocations: 86.77 kB / 0.6777 GB, free: 27.74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004263/0.7014, allocations: 86.27 kB / 0.6778 GB, free: 27.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.7019, allocations: 289.3 kB / 0.6781 GB, free: 27.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/0.702, allocations: 32.22 kB / 0.6781 GB, free: 27.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.702, allocations: 30.38 kB / 0.6782 GB, free: 27.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.703, allocations: 0.7584 MB / 0.6789 GB, free: 27.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.7031, allocations: 6.844 kB / 0.6789 GB, free: 27.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.7031, allocations: 15.41 kB / 0.6789 GB, free: 27.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.7031, allocations: 18.17 kB / 0.6789 GB, free: 27.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008301/0.7039, allocations: 0.548 MB / 0.6795 GB, free: 27.26 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.7057, allocations: 1.714 MB / 0.6811 GB, free: 26.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006736/0.7063, allocations: 476.6 kB / 0.6816 GB, free: 26.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.7067, allocations: 317.5 kB / 0.6819 GB, free: 26.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0947/0.8014, allocations: 44.04 MB / 0.7249 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.8014, allocations: 36.62 kB / 0.7249 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=77): time 3.747e-06/0.8014, allocations: 3.984 kB / 0.7249 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81): time 0.00382/0.8052, allocations: 2.244 MB / 0.7271 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.8052, allocations: 63.09 kB / 0.7272 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.8055, allocations: 264.6 kB / 0.7274 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.8055, allocations: 29.58 kB / 0.7275 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.247e-05/0.8056, allocations: 197.2 kB / 0.7277 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.8057, allocations: 278.1 kB / 0.7279 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.131e-05/0.8058, allocations: 95.73 kB / 0.728 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.8059, allocations: 351.9 kB / 0.7284 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.8062, allocations: 287.8 kB / 0.7286 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.8065, allocations: 401.6 kB / 0.729 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006607/0.8072, allocations: 0.7207 MB / 0.7297 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.8072, allocations: 0 / 0.7297 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008773/0.8081, allocations: 0.8222 MB / 0.7305 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.8081, allocations: 4 kB / 0.7305 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.8081, allocations: 4 kB / 0.7305 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001706/0.8083, allocations: 61.48 kB / 0.7306 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.8087, allocations: 146.1 kB / 0.7307 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03561/0.8443, allocations: 18.23 MB / 0.7485 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.8447, allocations: 35.47 kB / 0.7486 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.8447, allocations: 15.88 kB / 0.7486 GB, free: 8.336 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.0003043/0.845, allocations: 196.2 kB / 0.7488 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.561e-05/0.8451, allocations: 43.72 kB / 0.7488 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.8466, allocations: 1.756 MB / 0.7505 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.8466, allocations: 7.875 kB / 0.7505 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.8466, allocations: 5.312 kB / 0.7505 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00113/0.8477, allocations: 1.315 MB / 0.7518 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.8496, allocations: 1.711 MB / 0.7535 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.8496, allocations: 0 / 0.7535 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.8498, allocations: 82.88 kB / 0.7536 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002172/0.85, allocations: 167.1 kB / 0.7537 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.85, allocations: 7.938 kB / 0.7537 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.8515, allocations: 2.468 MB / 0.7561 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8515, allocations: 0 / 0.7561 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.8528, allocations: 1.408 MB / 0.7575 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.8529, allocations: 43.67 kB / 0.7576 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.8529, allocations: 14 kB / 0.7576 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.8531, allocations: 31.53 kB / 0.7576 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.8532, allocations: 40.36 kB / 0.7576 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.8532, allocations: 18.17 kB / 0.7577 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001824/0.8534, allocations: 222.3 kB / 0.7579 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.8534, allocations: 0 / 0.7579 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009247/0.8626, allocations: 3.569 MB / 0.7614 GB, free: 13.13 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.02/0.8826, allocations: 6.616 MB / 0.7678 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00189/0.8845, allocations: 1.021 MB / 0.7688 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.8845, allocations: 0 / 0.7688 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005454/0.8851, allocations: 0.4966 MB / 0.7693 GB, free: 6.34 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.8863, allocations: 395.7 kB / 0.7697 GB, free: 6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.8984, allocations: 6.313 MB / 0.7758 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.8986, allocations: 248.5 kB / 0.7761 GB, free: 364 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003995/0.899, allocations: 135.2 kB / 0.7762 GB, free: 228 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.8992, allocations: 170.3 kB / 0.7764 GB, free: 176 kB / 0.5417 GB Notification: Performance of SimCode: time 1.503e-06/0.8992, allocations: 3 kB / 0.7764 GB, free: 176 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3548/1.254, allocations: 135.7 MB / 0.9089 GB, free: 212.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/12.09, allocations: 4.391 kB / 0.9089 GB, free: 212.5 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: 16.98517221212387] Failed to read output from testmodel.py, exit status != 0: 12.246501885354519 12.25501891 11.559842949 Calling exit ...