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.001936/0.001936, allocations: 79.19 kB / 19.76 MB, free: 2.031 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.002369/0.002369, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.557/1.557, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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.04978/0.04978, allocations: 7.533 MB / 267.3 MB, free: 9.57 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: translateModel(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.91 kB / 392.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1084, allocations: 54.92 MB / 447.7 MB, free: 4.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.3709/0.4793, allocations: 115.1 MB / 0.5496 GB, free: 4.258 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1135/0.5929, allocations: 98.62 MB / 0.6459 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005702/0.5934, allocations: 11.94 kB / 0.6459 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003328/0.5968, allocations: 1.237 MB / 0.6471 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004062/0.6008, allocations: 1.568 MB / 0.6487 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.08002/0.6808, allocations: 31.35 MB / 0.6793 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00245/0.6833, allocations: 1.426 MB / 0.6807 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.6836, allocations: 77.92 kB / 0.6808 GB, free: 13.12 MB / 0.5606 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.0217/0.7053, allocations: 10.17 MB / 0.6907 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006449/0.7059, allocations: 378.4 kB / 0.6911 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.741e-05/0.706, allocations: 44 kB / 0.6911 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3288/1.035, allocations: 24.61 MB / 0.7151 GB, free: 38.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000281/1.035, allocations: 125 kB / 0.7153 GB, free: 38.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005441/1.036, allocations: 253.9 kB / 0.7155 GB, free: 38.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04241/1.078, allocations: 12.36 MB / 0.7276 GB, free: 38.28 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.078, allocations: 1.469 kB / 0.7276 GB, free: 38.28 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/1.078, allocations: 2.156 kB / 0.7276 GB, free: 38.28 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.049e-05/1.078, allocations: 0.7656 kB / 0.7276 GB, free: 38.28 MB / 0.5606 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.008608/1.087, allocations: 2.59 MB / 0.7301 GB, free: 36.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/1.087, allocations: 9 kB / 0.7301 GB, free: 36.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006109/1.087, allocations: 90.67 kB / 0.7302 GB, free: 36.83 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/1.088, allocations: 276.8 kB / 0.7305 GB, free: 36.67 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/1.088, allocations: 31.94 kB / 0.7305 GB, free: 36.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/1.088, allocations: 30.34 kB / 0.7305 GB, free: 36.67 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/1.089, allocations: 0.7698 MB / 0.7313 GB, free: 36.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/1.089, allocations: 3.625 kB / 0.7313 GB, free: 36.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/1.089, allocations: 13.06 kB / 0.7313 GB, free: 36.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/1.089, allocations: 12.88 kB / 0.7313 GB, free: 36.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/1.09, allocations: 0.5553 MB / 0.7318 GB, free: 36.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/1.093, allocations: 1.654 MB / 0.7335 GB, free: 35.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/1.094, allocations: 470.4 kB / 0.7339 GB, free: 35.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005158/1.094, allocations: 317.7 kB / 0.7342 GB, free: 35.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1951/1.289, allocations: 44.03 MB / 0.7772 GB, free: 19.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/1.29, allocations: 36.97 kB / 0.7772 GB, free: 19.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=77): time 2.675e-06/1.29, allocations: 0 / 0.7772 GB, free: 19.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=81): time 0.005872/1.295, allocations: 2.248 MB / 0.7794 GB, free: 17.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/1.295, allocations: 55.41 kB / 0.7795 GB, free: 17.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/1.296, allocations: 236.5 kB / 0.7797 GB, free: 17.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/1.296, allocations: 30.52 kB / 0.7798 GB, free: 17.22 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/1.296, allocations: 205.9 kB / 0.7799 GB, free: 17.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/1.296, allocations: 273.1 kB / 0.7802 GB, free: 16.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/1.296, allocations: 104.2 kB / 0.7803 GB, free: 16.74 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.913e-05/1.296, allocations: 351.3 kB / 0.7806 GB, free: 16.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/1.296, allocations: 283.1 kB / 0.7809 GB, free: 16.24 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/1.297, allocations: 400.3 kB / 0.7813 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009651/1.298, allocations: 0.7234 MB / 0.782 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.298, allocations: 0 / 0.782 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001317/1.299, allocations: 0.8214 MB / 0.7828 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/1.299, allocations: 8 kB / 0.7828 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.299, allocations: 7.984 kB / 0.7828 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002516/1.3, allocations: 56.31 kB / 0.7829 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/1.3, allocations: 141.2 kB / 0.783 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07011/1.37, allocations: 19.44 MB / 0.802 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006028/1.371, allocations: 27.94 kB / 0.802 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-05/1.371, allocations: 15.94 kB / 0.802 GB, free: 11.86 MB / 0.5762 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.0003943/1.371, allocations: 197.6 kB / 0.8022 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/1.372, allocations: 51.59 kB / 0.8023 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/1.374, allocations: 1.74 MB / 0.804 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/1.374, allocations: 14.98 kB / 0.804 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/1.374, allocations: 7.938 kB / 0.804 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001874/1.376, allocations: 1.312 MB / 0.8053 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/1.379, allocations: 1.652 MB / 0.8069 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/1.379, allocations: 0 / 0.8069 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/1.38, allocations: 74.5 kB / 0.807 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003731/1.38, allocations: 168.9 kB / 0.8071 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/1.38, allocations: 11.86 kB / 0.8071 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/1.382, allocations: 2.445 MB / 0.8095 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/1.382, allocations: 352 / 0.8095 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/1.384, allocations: 1.417 MB / 0.8109 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/1.385, allocations: 39.69 kB / 0.8109 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/1.385, allocations: 3.812 kB / 0.8109 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/1.385, allocations: 27.59 kB / 0.811 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/1.385, allocations: 50.69 kB / 0.811 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/1.385, allocations: 11.62 kB / 0.811 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002987/1.386, allocations: 208.1 kB / 0.8112 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/1.386, allocations: 4.062 kB / 0.8112 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01361/1.399, allocations: 3.566 MB / 0.8147 GB, free: 0.7695 MB / 0.5762 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.02388/1.423, allocations: 4.641 MB / 0.8192 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002824/1.426, allocations: 1.021 MB / 0.8202 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.426, allocations: 0 / 0.8202 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009347/1.427, allocations: 0.4894 MB / 0.8207 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/1.429, allocations: 371.8 kB / 0.8211 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/1.431, allocations: 1.232 MB / 0.8223 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/1.432, allocations: 249.5 kB / 0.8225 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004527/1.432, allocations: 127.1 kB / 0.8226 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/1.432, allocations: 46.03 kB / 0.8227 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of SimCode: time 1.302e-06/1.432, allocations: 0 / 0.8227 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of Templates: time 0.4675/1.9, allocations: 126.6 MB / 0.9463 GB, free: 322.6 MB / 0.7012 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.makefile [Timeout 660] (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 17.146394789917395] Failed to read output from testmodel.py, exit status != 0: 1.9087675010086969 1.919085624 0.838573236 Calling exit ...