Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.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.001949/0.001949, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002434/0.002434, allocations: 207.1 kB / 22.24 MB, free: 5.258 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.777 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.04853/0.04853, allocations: 9.133 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.ButaneTestModel_pT,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.89 kB / 446.6 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0994/0.1012, allocations: 54.95 MB / 0.4897 GB, free: 9.5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.3328/0.434, allocations: 127 MB / 0.6138 GB, free: 0.918 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.09266/0.5267, allocations: 86.73 MB / 0.6985 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006062/0.5273, allocations: 7.938 kB / 0.6985 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003093/0.5304, allocations: 1.226 MB / 0.6997 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00357/0.5339, allocations: 1.567 MB / 0.7012 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3231/0.857, allocations: 31.36 MB / 0.7318 GB, free: 23.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001829/0.8589, allocations: 1.427 MB / 0.7332 GB, free: 23.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.8591, allocations: 82.19 kB / 0.7333 GB, free: 23.07 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.01545/0.8745, allocations: 10.11 MB / 0.7432 GB, free: 22.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004729/0.875, allocations: 374.6 kB / 0.7435 GB, free: 22.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.419e-05/0.8751, allocations: 43.16 kB / 0.7436 GB, free: 22.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04194/0.917, allocations: 25.37 MB / 0.7683 GB, free: 22.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.9173, allocations: 127.8 kB / 0.7685 GB, free: 22.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005346/0.9178, allocations: 254 kB / 0.7687 GB, free: 22.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03525/0.9531, allocations: 12.76 MB / 0.7812 GB, free: 21.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.9531, allocations: 0 / 0.7812 GB, free: 21.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9531, allocations: 0 / 0.7812 GB, free: 21.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.9531, allocations: 4 kB / 0.7812 GB, free: 21.43 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.006273/0.9593, allocations: 2.688 MB / 0.7838 GB, free: 19.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.9594, allocations: 10.28 kB / 0.7838 GB, free: 19.79 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.253e-05/0.9595, allocations: 81.67 kB / 0.7839 GB, free: 19.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000491/0.96, allocations: 88.05 kB / 0.784 GB, free: 19.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.9604, allocations: 279.4 kB / 0.7842 GB, free: 19.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.9604, allocations: 28.53 kB / 0.7843 GB, free: 19.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.9605, allocations: 34.41 kB / 0.7843 GB, free: 19.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.9615, allocations: 0.7413 MB / 0.785 GB, free: 19.13 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.9615, allocations: 4 kB / 0.785 GB, free: 19.13 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.9616, allocations: 14.41 kB / 0.785 GB, free: 19.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.9616, allocations: 17 kB / 0.7851 GB, free: 19.13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.9626, allocations: 0.5282 MB / 0.7856 GB, free: 19.03 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.9645, allocations: 1.702 MB / 0.7872 GB, free: 18.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008877/0.9654, allocations: 457.3 kB / 0.7877 GB, free: 17.97 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004502/0.9658, allocations: 321 kB / 0.788 GB, free: 17.92 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1079/1.074, allocations: 30.71 MB / 0.818 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/1.074, allocations: 34.84 kB / 0.818 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.816e-06/1.074, allocations: 0.6562 kB / 0.818 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.006382/1.08, allocations: 2.35 MB / 0.8203 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/1.08, allocations: 58.5 kB / 0.8204 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/1.081, allocations: 258.9 kB / 0.8206 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/1.081, allocations: 37.64 kB / 0.8206 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/1.081, allocations: 188.3 kB / 0.8208 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/1.081, allocations: 283 kB / 0.8211 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/1.081, allocations: 102.4 kB / 0.8212 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.081, allocations: 354.5 kB / 0.8215 GB, free: 9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005009/1.082, allocations: 286.6 kB / 0.8218 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000611/1.082, allocations: 411.5 kB / 0.8222 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/1.083, allocations: 0.7293 MB / 0.8229 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.083, allocations: 3 kB / 0.8229 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001598/1.085, allocations: 0.8404 MB / 0.8237 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/1.085, allocations: 4 kB / 0.8237 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.085, allocations: 4 kB / 0.8237 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003098/1.085, allocations: 78.31 kB / 0.8238 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005203/1.086, allocations: 116.3 kB / 0.8239 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0519/1.138, allocations: 14.51 MB / 0.8381 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004352/1.138, allocations: 23.05 kB / 0.8381 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/1.138, allocations: 23.67 kB / 0.8381 GB, free: 8.996 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003011/1.139, allocations: 191.5 kB / 0.8383 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/1.139, allocations: 47.66 kB / 0.8384 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/1.141, allocations: 1.763 MB / 0.8401 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/1.141, allocations: 22.33 kB / 0.8401 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.141, allocations: 4.062 kB / 0.8401 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001632/1.143, allocations: 1.282 MB / 0.8414 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/1.145, allocations: 1.719 MB / 0.843 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.145, allocations: 4.031 kB / 0.843 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/1.146, allocations: 83.16 kB / 0.8431 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003061/1.146, allocations: 116.7 kB / 0.8432 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/1.146, allocations: 7.938 kB / 0.8432 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/1.148, allocations: 1.993 MB / 0.8452 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.148, allocations: 0 / 0.8452 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/1.15, allocations: 1.467 MB / 0.8466 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/1.15, allocations: 39.75 kB / 0.8466 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/1.15, allocations: 19.05 kB / 0.8467 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/1.151, allocations: 19.17 kB / 0.8467 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/1.151, allocations: 47.22 kB / 0.8467 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/1.151, allocations: 19.61 kB / 0.8467 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002868/1.151, allocations: 227.1 kB / 0.847 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1.151, allocations: 0 / 0.847 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008664/1.16, allocations: 3.038 MB / 0.8499 GB, free: 14.82 MB / 0.5919 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.T) * Number of discrete variables: 10 ($cse11.phase,$cse12.phase,$cse14.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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,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.01799/1.178, allocations: 5.715 MB / 0.8555 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002106/1.18, allocations: 1.012 MB / 0.8565 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.18, allocations: 2.906 kB / 0.8565 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008787/1.181, allocations: 0.5328 MB / 0.857 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/1.183, allocations: 399.5 kB / 0.8574 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/1.196, allocations: 6.386 MB / 0.8636 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/1.197, allocations: 258.6 kB / 0.8639 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004663/1.197, allocations: 123.2 kB / 0.864 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/1.197, allocations: 174.7 kB / 0.8642 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of SimCode: time 6.72e-07/1.197, allocations: 0 / 0.8642 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4034/1.601, allocations: 120.8 MB / 0.9821 GB, free: 333.1 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.36/18.96, allocations: 1.203 kB / 0.9821 GB, free: 333.1 MB / 0.7012 GB " [Timeout remaining time 641] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000404 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_ButaneTestModel_pT.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.655616079922765] Failed to read output from testmodel.py, exit status != 0: 19.15857405262068 19.182660486 18.224899474 Calling exit ...