Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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.0009963/0.0009963, 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.001177/0.001177, allocations: 165.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.8689/0.8689, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.02962/0.02962, allocations: 7.511 MB / 266.7 MB, free: 6.207 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.HeliumTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.01e-07/9.01e-07, allocations: 0 / 391.8 MB, free: 6.312 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.332e-05, allocations: 9.172 kB / 391.8 MB, free: 6.305 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.2509/0.2509, allocations: 114.2 MB / 0.4941 GB, free: 24.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.07333/0.3242, allocations: 97.65 MB / 0.5895 GB, free: 9.93 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006246/0.3249, allocations: 7.938 kB / 0.5895 GB, free: 9.922 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0028/0.3277, allocations: 1.146 MB / 0.5906 GB, free: 8.773 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00338/0.331, allocations: 1.497 MB / 0.5921 GB, free: 7.27 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06501/0.396, allocations: 31.02 MB / 0.6224 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.3979, allocations: 1.355 MB / 0.6237 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.3981, allocations: 97.62 kB / 0.6238 GB, free: 6.738 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:621:5-621:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.2588/0.6569, allocations: 9.101 MB / 0.6327 GB, free: 31.4 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003839/0.6573, allocations: 325.2 kB / 0.633 GB, free: 31.4 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.6574, allocations: 43.38 kB / 0.633 GB, free: 31.4 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03742/0.6948, allocations: 24.15 MB / 0.6566 GB, free: 31.4 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.695, allocations: 131.8 kB / 0.6567 GB, free: 31.4 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005186/0.6956, allocations: 220.3 kB / 0.6569 GB, free: 31.4 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.03307/0.7286, allocations: 14.51 MB / 0.6711 GB, free: 31.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7286, allocations: 0 / 0.6711 GB, free: 31.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.604e-06/0.7286, allocations: 0 / 0.6711 GB, free: 31.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.7286, allocations: 0 / 0.6711 GB, free: 31.07 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.005655/0.7343, allocations: 2.581 MB / 0.6736 GB, free: 29.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.7343, allocations: 11.62 kB / 0.6737 GB, free: 29.65 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.018e-05/0.7344, allocations: 84.95 kB / 0.6737 GB, free: 29.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003502/0.7348, allocations: 86.97 kB / 0.6738 GB, free: 29.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.7351, allocations: 292.5 kB / 0.6741 GB, free: 29.42 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.7351, allocations: 33 kB / 0.6741 GB, free: 29.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.7352, allocations: 31.84 kB / 0.6742 GB, free: 29.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007679/0.7359, allocations: 0.7586 MB / 0.6749 GB, free: 29.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.736, allocations: 2.531 kB / 0.6749 GB, free: 29.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.736, allocations: 18 kB / 0.6749 GB, free: 29.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.736, allocations: 20.8 kB / 0.6749 GB, free: 29.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007316/0.7367, allocations: 0.5475 MB / 0.6755 GB, free: 29.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.738, allocations: 1.709 MB / 0.6771 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/0.7387, allocations: 483 kB / 0.6776 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.739, allocations: 313.8 kB / 0.6779 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09323/0.8322, allocations: 44.04 MB / 0.7209 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.8322, allocations: 41 kB / 0.7209 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 2.305e-06/0.8323, allocations: 0 / 0.7209 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.00341/0.8357, allocations: 2.243 MB / 0.7231 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.8357, allocations: 63.2 kB / 0.7232 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.8359, allocations: 260.2 kB / 0.7234 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.8359, allocations: 32.95 kB / 0.7235 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.8359, allocations: 188.5 kB / 0.7237 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.867e-05/0.836, allocations: 278 kB / 0.7239 GB, free: 456 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.101e-05/0.8361, allocations: 99.3 kB / 0.724 GB, free: 388 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.8362, allocations: 349 kB / 0.7243 GB, free: 48 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.8364, allocations: 283.5 kB / 0.7246 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.8368, allocations: 418.4 kB / 0.725 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006474/0.8374, allocations: 0.7286 MB / 0.7257 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.8374, allocations: 0 / 0.7257 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008765/0.8383, allocations: 0.8191 MB / 0.7265 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.8383, allocations: 12.03 kB / 0.7265 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.8383, allocations: 4 kB / 0.7265 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.8385, allocations: 61.05 kB / 0.7266 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.8389, allocations: 130.3 kB / 0.7267 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03945/0.8783, allocations: 19.69 MB / 0.746 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.8786, allocations: 31.31 kB / 0.746 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.8786, allocations: 15.81 kB / 0.746 GB, free: 11.14 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {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.0002211/0.8788, allocations: 197.4 kB / 0.7462 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.8789, allocations: 47.78 kB / 0.7462 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.8802, allocations: 1.62 MB / 0.7478 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.8802, allocations: 11.98 kB / 0.7478 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.8802, allocations: 0.875 kB / 0.7478 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008744/0.8811, allocations: 1.208 MB / 0.749 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.8824, allocations: 1.589 MB / 0.7506 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.8824, allocations: 0 / 0.7506 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.8826, allocations: 83.09 kB / 0.7506 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001523/0.8827, allocations: 100.9 kB / 0.7507 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.8828, allocations: 12.92 kB / 0.7507 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008351/0.8836, allocations: 1.891 MB / 0.7526 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8836, allocations: 0 / 0.7526 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.8847, allocations: 1.283 MB / 0.7538 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.8848, allocations: 39.89 kB / 0.7539 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.8848, allocations: 23.7 kB / 0.7539 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.885, allocations: 27.84 kB / 0.7539 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.885, allocations: 43.61 kB / 0.754 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.8851, allocations: 15.73 kB / 0.754 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001612/0.8852, allocations: 241.1 kB / 0.7542 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.8852, allocations: 0 / 0.7542 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008866/0.8941, allocations: 3.574 MB / 0.7577 GB, free: 0.832 MB / 0.5261 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 (38): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.01266/0.9067, allocations: 6.681 MB / 0.7642 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.9081, allocations: 0.9686 MB / 0.7652 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9081, allocations: 192 / 0.7652 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004952/0.9086, allocations: 495.5 kB / 0.7657 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.9097, allocations: 398.3 kB / 0.766 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007327/0.917, allocations: 6.395 MB / 0.7723 GB, free: 4.191 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.9172, allocations: 252.1 kB / 0.7725 GB, free: 3.918 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003137/0.9175, allocations: 145.7 kB / 0.7727 GB, free: 3.781 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.9176, allocations: 171.1 kB / 0.7728 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of SimCode: time 6.81e-07/0.9176, allocations: 0 / 0.7728 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3626/1.28, allocations: 134.6 MB / 0.9042 GB, free: 209.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.65, allocations: 6.094 kB / 0.9042 GB, free: 209.1 MB / 0.6198 GB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_HeliumTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.538971218280494] Failed to read output from testmodel.py, exit status != 0: 12.812868922948837 12.822545023 12.092190988 Calling exit ...