Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.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.001997/0.001997, 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.002646/0.002646, allocations: 213 kB / 22.25 MB, free: 5.262 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.773 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.05206/0.05206, allocations: 9.132 MB / 321.6 MB, free: 10.29 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.PropaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 63.91 kB / 447 MB, free: 80 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1154, allocations: 54.95 MB / 0.4902 GB, free: 9.031 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.3437/0.4592, allocations: 115.1 MB / 0.6026 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1176/0.5768, allocations: 98.64 MB / 0.699 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006463/0.5774, allocations: 7.938 kB / 0.699 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003414/0.5808, allocations: 1.226 MB / 0.7002 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004044/0.5849, allocations: 1.567 MB / 0.7017 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3676/0.9525, allocations: 31.32 MB / 0.7323 GB, free: 22.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001839/0.9543, allocations: 1.422 MB / 0.7337 GB, free: 22.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.9545, allocations: 74.88 kB / 0.7337 GB, free: 22.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.01587/0.9704, allocations: 9.974 MB / 0.7435 GB, free: 21.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005406/0.9709, allocations: 377.4 kB / 0.7438 GB, free: 21.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.656e-05/0.971, allocations: 42.81 kB / 0.7439 GB, free: 21.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04113/1.012, allocations: 24.53 MB / 0.7678 GB, free: 21.87 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002619/1.012, allocations: 132.1 kB / 0.768 GB, free: 21.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005709/1.013, allocations: 247.1 kB / 0.7682 GB, free: 21.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04046/1.053, allocations: 12.32 MB / 0.7802 GB, free: 21.01 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.053, allocations: 2.719 kB / 0.7802 GB, free: 21.01 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.904e-06/1.053, allocations: 2.078 kB / 0.7802 GB, free: 21.01 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.155e-05/1.053, allocations: 0 / 0.7802 GB, free: 21.01 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.008325/1.062, allocations: 2.586 MB / 0.7828 GB, free: 19.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.062, allocations: 11.06 kB / 0.7828 GB, free: 19.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009553/1.063, allocations: 92.22 kB / 0.7829 GB, free: 19.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006179/1.063, allocations: 285.3 kB / 0.7831 GB, free: 19.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/1.063, allocations: 28.28 kB / 0.7832 GB, free: 19.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.351e-05/1.064, allocations: 32.25 kB / 0.7832 GB, free: 19.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/1.065, allocations: 0.7632 MB / 0.7839 GB, free: 18.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/1.065, allocations: 2.25 kB / 0.7839 GB, free: 18.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/1.065, allocations: 15.28 kB / 0.784 GB, free: 18.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/1.065, allocations: 19.78 kB / 0.784 GB, free: 18.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/1.067, allocations: 0.5512 MB / 0.7845 GB, free: 18.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002669/1.07, allocations: 1.649 MB / 0.7861 GB, free: 17.76 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/1.071, allocations: 476.8 kB / 0.7866 GB, free: 17.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/1.071, allocations: 320.8 kB / 0.7869 GB, free: 17.63 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2029/1.274, allocations: 44.03 MB / 0.8299 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/1.274, allocations: 42.53 kB / 0.8299 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 3.075e-06/1.274, allocations: 0 / 0.8299 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.006161/1.281, allocations: 2.233 MB / 0.8321 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/1.281, allocations: 61.78 kB / 0.8322 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/1.281, allocations: 234 kB / 0.8324 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/1.281, allocations: 37.08 kB / 0.8324 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/1.281, allocations: 197.5 kB / 0.8326 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/1.281, allocations: 278.6 kB / 0.8329 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/1.281, allocations: 96.36 kB / 0.833 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001867/1.282, allocations: 357.9 kB / 0.8333 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005106/1.282, allocations: 278.5 kB / 0.8336 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006372/1.283, allocations: 398.5 kB / 0.834 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/1.284, allocations: 0.7026 MB / 0.8346 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.284, allocations: 4 kB / 0.8346 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001544/1.285, allocations: 0.8136 MB / 0.8354 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/1.285, allocations: 4 kB / 0.8354 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.285, allocations: 4.984 kB / 0.8354 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002832/1.286, allocations: 64.27 kB / 0.8355 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006935/1.286, allocations: 128.7 kB / 0.8356 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07487/1.361, allocations: 19.19 MB / 0.8544 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/1.362, allocations: 31.97 kB / 0.8544 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/1.362, allocations: 20.23 kB / 0.8544 GB, free: 7.602 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {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.0003412/1.362, allocations: 194.8 kB / 0.8546 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/1.362, allocations: 43.75 kB / 0.8546 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/1.365, allocations: 1.71 MB / 0.8563 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/1.365, allocations: 12.86 kB / 0.8563 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/1.365, allocations: 0 / 0.8563 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001675/1.366, allocations: 1.281 MB / 0.8576 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/1.369, allocations: 1.602 MB / 0.8591 GB, free: 4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.369, allocations: 7.938 kB / 0.8592 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/1.369, allocations: 76.27 kB / 0.8592 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002993/1.369, allocations: 110.9 kB / 0.8593 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/1.369, allocations: 11.81 kB / 0.8593 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/1.371, allocations: 1.859 MB / 0.8612 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.371, allocations: 8 kB / 0.8612 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/1.373, allocations: 1.335 MB / 0.8625 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/1.373, allocations: 43.67 kB / 0.8625 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.925e-05/1.373, allocations: 7.688 kB / 0.8625 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/1.374, allocations: 26.34 kB / 0.8625 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/1.374, allocations: 41.55 kB / 0.8626 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/1.374, allocations: 16.77 kB / 0.8626 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002449/1.374, allocations: 205.4 kB / 0.8628 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.374, allocations: 0 / 0.8628 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01065/1.385, allocations: 3.569 MB / 0.8663 GB, free: 13.27 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 (39): * Single equations (assignments): 33 * 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 {(1,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.02043/1.405, allocations: 4.616 MB / 0.8708 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002787/1.408, allocations: 0.9986 MB / 0.8718 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.408, allocations: 0 / 0.8718 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000861/1.409, allocations: 484.4 kB / 0.8722 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/1.411, allocations: 371.3 kB / 0.8726 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/1.413, allocations: 1.21 MB / 0.8738 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/1.413, allocations: 246.3 kB / 0.874 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004139/1.413, allocations: 148.7 kB / 0.8741 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/1.413, allocations: 40.98 kB / 0.8742 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of SimCode: time 7.81e-07/1.413, allocations: 0 / 0.8742 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of Templates: time 0.3965/1.81, allocations: 127.3 MB / 0.9985 GB, free: 331 MB / 0.7012 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.281959269195795] Failed to read output from testmodel.py, exit status != 0: 1.8186306804418564 1.831170642 0.775196702 Calling exit ...