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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 191.8 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 207.6 MB / 233 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05191/0.05191, allocations: 9.143 MB / 294.4 MB, free: 12.73 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 71.8 kB / 411.6 MB, free: 46.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08197/0.08414, allocations: 50.76 MB / 462.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.3567/0.4409, allocations: 129.5 MB / 0.5779 GB, free: 24 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.123/0.5638, allocations: 111.4 MB / 0.6868 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004832/0.5643, allocations: 11.88 kB / 0.6868 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003353/0.5677, allocations: 1.548 MB / 0.6883 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004291/0.572, allocations: 1.837 MB / 0.6901 GB, free: 3.688 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.07922/0.6512, allocations: 31.52 MB / 0.7209 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002246/0.6534, allocations: 1.418 MB / 0.7222 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.6537, allocations: 89.91 kB / 0.7223 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01839/0.6721, allocations: 10.14 MB / 0.7322 GB, free: 8.391 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006198/0.6727, allocations: 395.3 kB / 0.7326 GB, free: 8.004 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.756e-05/0.6727, allocations: 40 kB / 0.7326 GB, free: 7.965 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.333/1.006, allocations: 36.65 MB / 0.7684 GB, free: 47.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002552/1.006, allocations: 127.2 kB / 0.7686 GB, free: 47.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005279/1.007, allocations: 305.1 kB / 0.7689 GB, free: 47.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04058/1.047, allocations: 14.17 MB / 0.7827 GB, free: 46.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/1.047, allocations: 1.094 kB / 0.7827 GB, free: 46.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/1.047, allocations: 0 / 0.7827 GB, free: 46.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.908e-05/1.047, allocations: 0 / 0.7827 GB, free: 46.71 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.007198/1.054, allocations: 2.605 MB / 0.7852 GB, free: 45.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/1.054, allocations: 11.3 kB / 0.7852 GB, free: 45.29 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006514/1.055, allocations: 96.55 kB / 0.7853 GB, free: 45.26 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/1.055, allocations: 275.2 kB / 0.7856 GB, free: 45.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/1.055, allocations: 28.47 kB / 0.7856 GB, free: 45.1 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-05/1.056, allocations: 32.12 kB / 0.7857 GB, free: 45.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/1.057, allocations: 0.6144 MB / 0.7863 GB, free: 45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/1.057, allocations: 2.016 kB / 0.7863 GB, free: 45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/1.057, allocations: 17.81 kB / 0.7863 GB, free: 45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/1.057, allocations: 20.48 kB / 0.7863 GB, free: 45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/1.058, allocations: 0.5592 MB / 0.7868 GB, free: 45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/1.06, allocations: 2.485 MB / 0.7893 GB, free: 43.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009859/1.061, allocations: 483 kB / 0.7897 GB, free: 43.31 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004389/1.062, allocations: 312.2 kB / 0.79 GB, free: 43.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1913/1.253, allocations: 43.91 MB / 0.8329 GB, free: 16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/1.253, allocations: 38.72 kB / 0.8329 GB, free: 15.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=78): time 3.347e-06/1.253, allocations: 0 / 0.8329 GB, free: 15.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.005294/1.258, allocations: 2.234 MB / 0.8351 GB, free: 14.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/1.258, allocations: 56.44 kB / 0.8352 GB, free: 14.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/1.258, allocations: 256.1 kB / 0.8354 GB, free: 14.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/1.258, allocations: 33.52 kB / 0.8355 GB, free: 13.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/1.259, allocations: 192.2 kB / 0.8356 GB, free: 13.81 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/1.259, allocations: 284.7 kB / 0.8359 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/1.259, allocations: 100.8 kB / 0.836 GB, free: 13.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.877e-05/1.259, allocations: 356.4 kB / 0.8363 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/1.259, allocations: 281.4 kB / 0.8366 GB, free: 13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/1.26, allocations: 395 kB / 0.837 GB, free: 12.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008474/1.261, allocations: 0.6974 MB / 0.8377 GB, free: 12.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.261, allocations: 7.984 kB / 0.8377 GB, free: 12.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00121/1.262, allocations: 0.815 MB / 0.8385 GB, free: 11.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.262, allocations: 8.219 kB / 0.8385 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.262, allocations: 4 kB / 0.8385 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002745/1.262, allocations: 61.17 kB / 0.8385 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006634/1.263, allocations: 130.1 kB / 0.8387 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07004/1.333, allocations: 19.23 MB / 0.8575 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/1.333, allocations: 31.34 kB / 0.8575 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.097e-05/1.333, allocations: 15.88 kB / 0.8575 GB, free: 8.719 MB / 0.5606 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.0003527/1.334, allocations: 196.5 kB / 0.8577 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/1.334, allocations: 43.72 kB / 0.8577 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/1.336, allocations: 1.708 MB / 0.8594 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/1.336, allocations: 11.92 kB / 0.8594 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.336, allocations: 5.125 kB / 0.8594 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001738/1.338, allocations: 1.282 MB / 0.8607 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/1.341, allocations: 1.717 MB / 0.8623 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.341, allocations: 0 / 0.8623 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003513/1.341, allocations: 80.14 kB / 0.8624 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003056/1.342, allocations: 111.6 kB / 0.8625 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/1.342, allocations: 7.75 kB / 0.8625 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/1.343, allocations: 1.901 MB / 0.8644 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/1.343, allocations: 0 / 0.8644 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/1.345, allocations: 1.335 MB / 0.8657 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/1.346, allocations: 39.69 kB / 0.8657 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.363e-05/1.346, allocations: 18.5 kB / 0.8657 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/1.346, allocations: 26.16 kB / 0.8658 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/1.346, allocations: 46.28 kB / 0.8658 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/1.346, allocations: 10.38 kB / 0.8658 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003035/1.347, allocations: 222.4 kB / 0.866 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.347, allocations: 0 / 0.866 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01106/1.358, allocations: 3.574 MB / 0.8695 GB, free: 14.22 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 (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.02262/1.38, allocations: 4.609 MB / 0.874 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002696/1.383, allocations: 0.9951 MB / 0.875 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/1.383, allocations: 0.6875 kB / 0.875 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009628/1.384, allocations: 493.6 kB / 0.8755 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/1.386, allocations: 399.5 kB / 0.8759 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/1.388, allocations: 1.217 MB / 0.877 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/1.389, allocations: 0.8521 MB / 0.8779 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004874/1.389, allocations: 150.5 kB / 0.878 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/1.39, allocations: 41.75 kB / 0.8781 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/1.39, allocations: 0 / 0.8781 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of Templates: time 0.402/1.792, allocations: 126.9 MB / 1.002 GB, free: 323.5 MB / 0.67 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.597246293909848] Failed to read output from testmodel.py, exit status != 0: 1.7997179105877876 1.809768819 0.760188776 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe2ed1a97b0>