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.001727/0.001727, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002085/0.002085, allocations: 212.3 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.04873/0.04873, allocations: 9.129 MB / 321.6 MB, free: 10.22 MB / 254.1 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 0.001921/0.001921, allocations: 63.91 kB / 446.6 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09395/0.09587, allocations: 54.94 MB / 0.4897 GB, free: 9.508 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.3312/0.4271, allocations: 115.1 MB / 0.6021 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1077/0.5348, allocations: 98.63 MB / 0.6985 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006882/0.5355, allocations: 7.938 kB / 0.6985 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003334/0.5389, allocations: 1.23 MB / 0.6997 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003815/0.5427, allocations: 1.559 MB / 0.7012 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3405/0.8832, allocations: 31.35 MB / 0.7318 GB, free: 22.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001667/0.8848, allocations: 1.417 MB / 0.7332 GB, free: 22.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.885, allocations: 79.7 kB / 0.7333 GB, free: 22.09 MB / 0.545 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.01667/0.9017, allocations: 10.08 MB / 0.7431 GB, free: 21.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005913/0.9023, allocations: 379.2 kB / 0.7435 GB, free: 21.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.947e-05/0.9024, allocations: 43.39 kB / 0.7435 GB, free: 21.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04304/0.9454, allocations: 24.64 MB / 0.7676 GB, free: 21.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.9457, allocations: 130.7 kB / 0.7677 GB, free: 21.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005479/0.9462, allocations: 250.4 kB / 0.7679 GB, free: 21.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03406/0.9803, allocations: 12.36 MB / 0.78 GB, free: 20.76 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.9803, allocations: 0 / 0.78 GB, free: 20.76 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.424e-06/0.9803, allocations: 0 / 0.78 GB, free: 20.76 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.9803, allocations: 6.875 kB / 0.78 GB, free: 20.76 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.006072/0.9863, allocations: 2.588 MB / 0.7825 GB, free: 19.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.9864, allocations: 7.125 kB / 0.7825 GB, free: 19.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.68e-05/0.9865, allocations: 87.48 kB / 0.7826 GB, free: 19.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005801/0.987, allocations: 93.06 kB / 0.7827 GB, free: 19.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.9875, allocations: 282.2 kB / 0.783 GB, free: 18.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.9875, allocations: 29.38 kB / 0.783 GB, free: 18.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.9876, allocations: 31.59 kB / 0.783 GB, free: 18.88 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.9887, allocations: 0.7604 MB / 0.7838 GB, free: 18.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.9888, allocations: 4 kB / 0.7838 GB, free: 18.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.9888, allocations: 17.66 kB / 0.7838 GB, free: 18.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.9888, allocations: 23.2 kB / 0.7838 GB, free: 18.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.99, allocations: 0.5537 MB / 0.7844 GB, free: 18.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.9919, allocations: 1.713 MB / 0.786 GB, free: 17.42 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009233/0.9928, allocations: 478.2 kB / 0.7865 GB, free: 17.33 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004429/0.9933, allocations: 314.8 kB / 0.7868 GB, free: 17.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1947/1.188, allocations: 44.04 MB / 0.8298 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/1.188, allocations: 42.44 kB / 0.8299 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 2.394e-06/1.188, allocations: 0 / 0.8299 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.005803/1.194, allocations: 2.249 MB / 0.832 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/1.194, allocations: 55.41 kB / 0.8321 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/1.194, allocations: 267.8 kB / 0.8324 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/1.194, allocations: 29.64 kB / 0.8324 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/1.194, allocations: 190.8 kB / 0.8326 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/1.195, allocations: 278.7 kB / 0.8328 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/1.195, allocations: 100.7 kB / 0.8329 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.195, allocations: 353.9 kB / 0.8333 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000493/1.195, allocations: 288.4 kB / 0.8335 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/1.196, allocations: 411.1 kB / 0.8339 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/1.197, allocations: 0.7118 MB / 0.8346 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/1.197, allocations: 0 / 0.8346 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001431/1.198, allocations: 0.8197 MB / 0.8354 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.198, allocations: 8 kB / 0.8354 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.198, allocations: 1.672 kB / 0.8354 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002435/1.199, allocations: 65.67 kB / 0.8355 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/1.199, allocations: 152.9 kB / 0.8356 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07149/1.271, allocations: 19.49 MB / 0.8547 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00059/1.272, allocations: 31.84 kB / 0.8547 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/1.272, allocations: 15.62 kB / 0.8547 GB, free: 6.852 MB / 0.5919 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.0003347/1.272, allocations: 191.9 kB / 0.8549 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/1.272, allocations: 51.72 kB / 0.855 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/1.274, allocations: 1.741 MB / 0.8567 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/1.274, allocations: 16.39 kB / 0.8567 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.274, allocations: 0 / 0.8567 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001672/1.276, allocations: 1.32 MB / 0.858 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/1.279, allocations: 1.711 MB / 0.8596 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.279, allocations: 0 / 0.8596 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/1.279, allocations: 78.22 kB / 0.8597 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003459/1.279, allocations: 165.3 kB / 0.8599 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/1.279, allocations: 7.859 kB / 0.8599 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/1.281, allocations: 2.468 MB / 0.8623 GB, free: 416 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.281, allocations: 5.141 kB / 0.8623 GB, free: 412 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/1.283, allocations: 1.415 MB / 0.8637 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/1.283, allocations: 47.69 kB / 0.8637 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/1.283, allocations: 13.86 kB / 0.8637 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/1.284, allocations: 21.23 kB / 0.8637 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/1.284, allocations: 51.2 kB / 0.8638 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/1.284, allocations: 13.98 kB / 0.8638 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002387/1.284, allocations: 222.6 kB / 0.864 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/1.284, allocations: 0 / 0.864 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009525/1.294, allocations: 3.568 MB / 0.8675 GB, free: 11.64 MB / 0.6075 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.02317/1.317, allocations: 6.344 MB / 0.8737 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00277/1.32, allocations: 1.012 MB / 0.8747 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.32, allocations: 0 / 0.8747 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009039/1.32, allocations: 0.4885 MB / 0.8752 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/1.323, allocations: 389 kB / 0.8755 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/1.337, allocations: 6.353 MB / 0.8817 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/1.338, allocations: 254.2 kB / 0.882 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004754/1.338, allocations: 142.8 kB / 0.8821 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/1.338, allocations: 173.5 kB / 0.8823 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of SimCode: time 1.202e-06/1.338, allocations: 0 / 0.8823 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.448/1.786, allocations: 135.2 MB / 1.014 GB, free: 247.1 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.71/19.5, allocations: 3.938 kB / 1.014 GB, free: 247.1 MB / 0.7012 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_IsobutaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.473766644019634] Failed to read output from testmodel.py, exit status != 0: 19.715711656026542 19.727775076 18.744973738 Calling exit ...