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.0008599/0.0008599, 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.0008395/0.0008395, 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.8449/0.8449, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.02858/0.02858, allocations: 7.518 MB / 266.7 MB, free: 6.195 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.242e-06/1.242e-06, allocations: 0 / 391.8 MB, free: 6.309 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.366e-05, allocations: 6.219 kB / 391.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.215/0.215, allocations: 114.9 MB / 0.4948 GB, free: 24.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.06099/0.276, allocations: 98.62 MB / 0.5911 GB, free: 8.234 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004697/0.2765, allocations: 15.94 kB / 0.5911 GB, free: 8.219 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002124/0.2786, allocations: 1.24 MB / 0.5923 GB, free: 6.977 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.2812, allocations: 1.614 MB / 0.5939 GB, free: 5.355 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05371/0.3349, allocations: 31.85 MB / 0.625 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001439/0.3363, allocations: 1.433 MB / 0.6264 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.3365, allocations: 81.77 kB / 0.6265 GB, free: 3.93 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.2072/0.5437, allocations: 10.41 MB / 0.6367 GB, free: 29.69 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003847/0.5441, allocations: 335.6 kB / 0.637 GB, free: 29.69 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.023e-05/0.5442, allocations: 42.72 kB / 0.637 GB, free: 29.69 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03266/0.5768, allocations: 24.83 MB / 0.6613 GB, free: 29.64 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.5771, allocations: 129.5 kB / 0.6614 GB, free: 29.64 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004511/0.5776, allocations: 217.2 kB / 0.6616 GB, free: 29.64 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.03139/0.6089, allocations: 14.53 MB / 0.6758 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.609, allocations: 1.312 kB / 0.6758 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.609, allocations: 0 / 0.6758 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.609, allocations: 0 / 0.6758 GB, free: 29.11 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.005036/0.614, allocations: 2.584 MB / 0.6783 GB, free: 27.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.614, allocations: 12.12 kB / 0.6783 GB, free: 27.65 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.64e-05/0.6141, allocations: 89.36 kB / 0.6784 GB, free: 27.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003491/0.6144, allocations: 89.67 kB / 0.6785 GB, free: 27.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.6148, allocations: 280.5 kB / 0.6788 GB, free: 27.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.6149, allocations: 33.27 kB / 0.6788 GB, free: 27.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.6149, allocations: 33.97 kB / 0.6788 GB, free: 27.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007478/0.6156, allocations: 0.7624 MB / 0.6796 GB, free: 27.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.6157, allocations: 0 / 0.6796 GB, free: 27.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.6157, allocations: 14.25 kB / 0.6796 GB, free: 27.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.6157, allocations: 19.89 kB / 0.6796 GB, free: 27.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006677/0.6164, allocations: 0.554 MB / 0.6801 GB, free: 27.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.6177, allocations: 1.716 MB / 0.6818 GB, free: 26.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000577/0.6183, allocations: 466.6 kB / 0.6823 GB, free: 26.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.6186, allocations: 322.4 kB / 0.6826 GB, free: 26.28 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09122/0.7098, allocations: 44.03 MB / 0.7256 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.7098, allocations: 40.5 kB / 0.7256 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=77): time 5.931e-06/0.7098, allocations: 0 / 0.7256 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81): time 0.003796/0.7136, allocations: 2.242 MB / 0.7278 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.7137, allocations: 58.5 kB / 0.7279 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.7139, allocations: 264.3 kB / 0.7281 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.7139, allocations: 33.45 kB / 0.7281 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.003e-05/0.714, allocations: 201 kB / 0.7283 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.7141, allocations: 267.2 kB / 0.7286 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.224e-05/0.7142, allocations: 100.5 kB / 0.7287 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.507e-05/0.7143, allocations: 358.9 kB / 0.729 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.7146, allocations: 284 kB / 0.7293 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.7149, allocations: 400.5 kB / 0.7297 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006639/0.7156, allocations: 0.7177 MB / 0.7304 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.7156, allocations: 4 kB / 0.7304 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008667/0.7165, allocations: 0.8138 MB / 0.7312 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.7165, allocations: 11.98 kB / 0.7312 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.7165, allocations: 5.406 kB / 0.7312 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/0.7167, allocations: 62.31 kB / 0.7313 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.7171, allocations: 143.4 kB / 0.7314 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03573/0.7528, allocations: 19.5 MB / 0.7504 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.7531, allocations: 27.34 kB / 0.7505 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.7532, allocations: 19.81 kB / 0.7505 GB, free: 5.844 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.0002564/0.7534, allocations: 194.1 kB / 0.7507 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.7535, allocations: 43.72 kB / 0.7507 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.7549, allocations: 1.757 MB / 0.7524 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.7549, allocations: 10.47 kB / 0.7524 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7549, allocations: 3.938 kB / 0.7524 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009755/0.7559, allocations: 1.31 MB / 0.7537 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.7574, allocations: 1.71 MB / 0.7554 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.7574, allocations: 0 / 0.7554 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.7576, allocations: 78.28 kB / 0.7555 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002206/0.7578, allocations: 170 kB / 0.7556 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.7578, allocations: 11.88 kB / 0.7556 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.7589, allocations: 2.461 MB / 0.758 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7589, allocations: 8.047 kB / 0.758 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.7601, allocations: 1.412 MB / 0.7594 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.7602, allocations: 43.67 kB / 0.7595 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.7602, allocations: 15.75 kB / 0.7595 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.7604, allocations: 23.03 kB / 0.7595 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.7605, allocations: 41.92 kB / 0.7595 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.7605, allocations: 19.92 kB / 0.7596 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001577/0.7606, allocations: 222.1 kB / 0.7598 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.7606, allocations: 4 kB / 0.7598 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007839/0.7685, allocations: 3.574 MB / 0.7633 GB, free: 10.64 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.01488/0.7833, allocations: 6.722 MB / 0.7698 GB, free: 4.914 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.7851, allocations: 1.018 MB / 0.7708 GB, free: 4.109 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7851, allocations: 0 / 0.7708 GB, free: 4.109 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005128/0.7856, allocations: 0.4885 MB / 0.7713 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.7867, allocations: 396.5 kB / 0.7717 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.7979, allocations: 6.308 MB / 0.7778 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.798, allocations: 254.2 kB / 0.7781 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004047/0.7984, allocations: 137.9 kB / 0.7782 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.7986, allocations: 165.9 kB / 0.7784 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of SimCode: time 1.253e-06/0.7986, allocations: 3.938 kB / 0.7784 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3143/1.113, allocations: 135.7 MB / 0.9109 GB, free: 214.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/12.46, allocations: 11.41 kB / 0.911 GB, free: 214.3 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 & /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: 18.98978629987687] Failed to read output from testmodel.py, exit status != 0: 12.618653751909733 12.627012597 12.016439237 Calling exit ...