Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.0008149/0.0008149, 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.0008443/0.0008443, allocations: 170.3 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.9009/0.9009, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.02999/0.02999, allocations: 7.516 MB / 266.7 MB, free: 6.215 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.IsobutaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 391.8 MB, free: 6.324 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.778e-05, allocations: 2.281 kB / 391.8 MB, free: 6.32 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.2595/0.2595, allocations: 114.9 MB / 0.4948 GB, free: 24.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.06429/0.3238, allocations: 98.63 MB / 0.5911 GB, free: 8.242 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000572/0.3244, allocations: 7.938 kB / 0.5911 GB, free: 8.234 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.3267, allocations: 1.24 MB / 0.5923 GB, free: 6.992 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.3292, allocations: 1.61 MB / 0.5939 GB, free: 5.375 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05473/0.3839, allocations: 31.85 MB / 0.625 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001565/0.3855, allocations: 1.429 MB / 0.6264 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.3857, allocations: 85.7 kB / 0.6265 GB, free: 3.941 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.2329/0.6186, allocations: 10.4 MB / 0.6367 GB, free: 29.74 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.6191, allocations: 339.4 kB / 0.637 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.786e-05/0.6191, allocations: 41.06 kB / 0.637 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03504/0.6541, allocations: 24.83 MB / 0.6613 GB, free: 29.68 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.6544, allocations: 127.9 kB / 0.6614 GB, free: 29.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004599/0.6548, allocations: 220.1 kB / 0.6616 GB, free: 29.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0341/0.6889, allocations: 14.53 MB / 0.6758 GB, free: 29.15 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6889, allocations: 0 / 0.6758 GB, free: 29.15 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6889, allocations: 0 / 0.6758 GB, free: 29.15 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.6889, allocations: 5.125 kB / 0.6758 GB, free: 29.15 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.006358/0.6953, allocations: 2.581 MB / 0.6783 GB, free: 27.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.6953, allocations: 12.78 kB / 0.6783 GB, free: 27.7 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.896e-05/0.6954, allocations: 81.11 kB / 0.6784 GB, free: 27.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003949/0.6958, allocations: 92.89 kB / 0.6785 GB, free: 27.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.6962, allocations: 278.5 kB / 0.6788 GB, free: 27.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.6962, allocations: 35.75 kB / 0.6788 GB, free: 27.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.6963, allocations: 32.22 kB / 0.6788 GB, free: 27.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.6973, allocations: 0.763 MB / 0.6796 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.6973, allocations: 6.906 kB / 0.6796 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.6974, allocations: 18.44 kB / 0.6796 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.6974, allocations: 12.44 kB / 0.6796 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.6986, allocations: 0.551 MB / 0.6801 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.7007, allocations: 1.714 MB / 0.6818 GB, free: 26.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009279/0.7016, allocations: 475.1 kB / 0.6823 GB, free: 26.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004361/0.7021, allocations: 317.3 kB / 0.6826 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09434/0.7964, allocations: 44.04 MB / 0.7256 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.7964, allocations: 40.36 kB / 0.7256 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=77): time 2.695e-06/0.7965, allocations: 0 / 0.7256 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81): time 0.003843/0.8003, allocations: 2.251 MB / 0.7278 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.8003, allocations: 55.41 kB / 0.7279 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.8005, allocations: 263.1 kB / 0.7281 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.8006, allocations: 29.52 kB / 0.7281 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.965e-05/0.8007, allocations: 200.3 kB / 0.7283 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.8008, allocations: 271.7 kB / 0.7286 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.951e-05/0.8009, allocations: 95.86 kB / 0.7287 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.801, allocations: 355.8 kB / 0.729 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.8013, allocations: 291.2 kB / 0.7293 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.8016, allocations: 398.5 kB / 0.7297 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006769/0.8023, allocations: 0.7247 MB / 0.7304 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8023, allocations: 0 / 0.7304 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008816/0.8032, allocations: 0.8205 MB / 0.7312 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.8032, allocations: 4 kB / 0.7312 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.8032, allocations: 4 kB / 0.7312 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.8034, allocations: 65.67 kB / 0.7313 GB, free: 8.926 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.8038, allocations: 138.1 kB / 0.7314 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0363/0.8401, allocations: 19.49 MB / 0.7504 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.8404, allocations: 23.92 kB / 0.7505 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.8404, allocations: 19.73 kB / 0.7505 GB, free: 5.836 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.0002276/0.8407, allocations: 193.1 kB / 0.7507 GB, free: 5.684 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.8407, allocations: 47.72 kB / 0.7507 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.8421, allocations: 1.749 MB / 0.7524 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.8421, allocations: 14.77 kB / 0.7524 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.8421, allocations: 9.688 kB / 0.7524 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009281/0.843, allocations: 1.317 MB / 0.7537 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.8445, allocations: 1.706 MB / 0.7554 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.8445, allocations: 4 kB / 0.7554 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.8447, allocations: 70.94 kB / 0.7555 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000241/0.8449, allocations: 171.6 kB / 0.7556 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.8449, allocations: 3.812 kB / 0.7556 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.8463, allocations: 2.47 MB / 0.758 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8463, allocations: 0 / 0.758 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.8477, allocations: 1.413 MB / 0.7594 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.8478, allocations: 41.33 kB / 0.7595 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.8478, allocations: 15.88 kB / 0.7595 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.848, allocations: 30.34 kB / 0.7595 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.8481, allocations: 42.8 kB / 0.7595 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.8481, allocations: 15.92 kB / 0.7596 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001774/0.8483, allocations: 219.8 kB / 0.7598 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.8483, allocations: 0 / 0.7598 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00901/0.8573, allocations: 3.574 MB / 0.7633 GB, free: 10.63 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.01156/0.8688, allocations: 6.727 MB / 0.7698 GB, free: 4.906 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.8702, allocations: 1.023 MB / 0.7708 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8702, allocations: 2.906 kB / 0.7708 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004478/0.8707, allocations: 496.1 kB / 0.7713 GB, free: 3.738 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.8717, allocations: 407.7 kB / 0.7717 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006762/0.8784, allocations: 6.304 MB / 0.7778 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.8786, allocations: 248.2 kB / 0.7781 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002772/0.8789, allocations: 131.2 kB / 0.7782 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.879, allocations: 177.3 kB / 0.7784 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of SimCode: time 7.71e-07/0.879, allocations: 0 / 0.7784 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3333/1.212, allocations: 135.2 MB / 0.9104 GB, free: 214.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/12.44, allocations: 2.25 kB / 0.9104 GB, free: 214.1 MB / 0.6198 GB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel_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_IsobutaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.072203488089144] Failed to read output from testmodel.py, exit status != 0: 12.60548130236566 12.615906408 11.924850131 Calling exit ...