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.001418/0.001418, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.00164/0.00164, allocations: 158.2 kB / 23.01 MB, free: 4.598 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.439/1.439, allocations: 177.2 MB / 203.4 MB, free: 8.914 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.04899/0.04899, allocations: 7.535 MB / 267.3 MB, free: 9.594 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.002133/0.002133, allocations: 67.91 kB / 392.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1203, allocations: 54.91 MB / 447.7 MB, free: 4.586 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.3195/0.4398, allocations: 115.1 MB / 0.5496 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1105/0.5503, allocations: 98.63 MB / 0.6459 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005505/0.5509, allocations: 7.938 kB / 0.646 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003047/0.5539, allocations: 1.229 MB / 0.6472 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003789/0.5577, allocations: 1.572 MB / 0.6487 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.07682/0.6345, allocations: 31.34 MB / 0.6793 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0022/0.6367, allocations: 1.414 MB / 0.6807 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.6369, allocations: 81.91 kB / 0.6807 GB, free: 13.15 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.02005/0.657, allocations: 10.06 MB / 0.6906 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006852/0.6577, allocations: 374.5 kB / 0.6909 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.864e-05/0.6578, allocations: 40 kB / 0.691 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3293/0.987, allocations: 24.53 MB / 0.7149 GB, free: 39.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002893/0.9873, allocations: 121.4 kB / 0.715 GB, free: 39.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006532/0.988, allocations: 258.3 kB / 0.7153 GB, free: 39.01 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04361/1.032, allocations: 12.32 MB / 0.7273 GB, free: 38.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.032, allocations: 2.859 kB / 0.7273 GB, free: 38.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/1.032, allocations: 6.156 kB / 0.7273 GB, free: 38.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.929e-05/1.032, allocations: 0 / 0.7273 GB, free: 38.59 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.009854/1.041, allocations: 2.585 MB / 0.7298 GB, free: 37.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/1.041, allocations: 11.25 kB / 0.7299 GB, free: 37.17 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000697/1.042, allocations: 86.81 kB / 0.7299 GB, free: 37.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005609/1.043, allocations: 285 kB / 0.7302 GB, free: 36.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/1.043, allocations: 29.34 kB / 0.7302 GB, free: 36.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/1.043, allocations: 35.44 kB / 0.7303 GB, free: 36.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/1.044, allocations: 0.7612 MB / 0.731 GB, free: 36.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/1.044, allocations: 7.938 kB / 0.731 GB, free: 36.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/1.044, allocations: 16.03 kB / 0.731 GB, free: 36.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/1.044, allocations: 16.64 kB / 0.7311 GB, free: 36.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/1.045, allocations: 0.5499 MB / 0.7316 GB, free: 36.69 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/1.048, allocations: 1.644 MB / 0.7332 GB, free: 35.92 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/1.049, allocations: 474.1 kB / 0.7337 GB, free: 35.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005185/1.049, allocations: 315.9 kB / 0.734 GB, free: 35.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1857/1.235, allocations: 44.04 MB / 0.777 GB, free: 19.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/1.235, allocations: 38.69 kB / 0.777 GB, free: 19.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.525e-06/1.235, allocations: 0 / 0.777 GB, free: 19.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.00601/1.241, allocations: 2.245 MB / 0.7792 GB, free: 17.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/1.241, allocations: 62.44 kB / 0.7792 GB, free: 17.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/1.241, allocations: 230.4 kB / 0.7795 GB, free: 17.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/1.241, allocations: 29.52 kB / 0.7795 GB, free: 17.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/1.241, allocations: 196.2 kB / 0.7797 GB, free: 17.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/1.242, allocations: 282 kB / 0.7799 GB, free: 17.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/1.242, allocations: 99.92 kB / 0.78 GB, free: 17.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.632e-05/1.242, allocations: 348.3 kB / 0.7804 GB, free: 16.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004603/1.242, allocations: 292.2 kB / 0.7807 GB, free: 16.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/1.243, allocations: 389.2 kB / 0.781 GB, free: 16.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000943/1.244, allocations: 0.6997 MB / 0.7817 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/1.244, allocations: 7.125 kB / 0.7817 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001282/1.245, allocations: 0.8117 MB / 0.7825 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.245, allocations: 8 kB / 0.7825 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.245, allocations: 0.6562 kB / 0.7825 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/1.245, allocations: 61.7 kB / 0.7826 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006314/1.246, allocations: 133.8 kB / 0.7827 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06777/1.314, allocations: 19.2 MB / 0.8015 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005231/1.314, allocations: 31.78 kB / 0.8015 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/1.314, allocations: 15.88 kB / 0.8015 GB, free: 12.51 MB / 0.5762 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.0003389/1.314, allocations: 195.1 kB / 0.8017 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/1.315, allocations: 35.77 kB / 0.8017 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/1.317, allocations: 1.71 MB / 0.8034 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/1.317, allocations: 18.92 kB / 0.8034 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.317, allocations: 0 / 0.8034 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00174/1.319, allocations: 1.28 MB / 0.8047 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/1.321, allocations: 1.602 MB / 0.8062 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.321, allocations: 0 / 0.8062 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/1.322, allocations: 86.88 kB / 0.8063 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002873/1.322, allocations: 107.5 kB / 0.8064 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/1.322, allocations: 8.438 kB / 0.8064 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/1.324, allocations: 1.868 MB / 0.8082 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.324, allocations: 2.625 kB / 0.8082 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/1.326, allocations: 1.335 MB / 0.8095 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/1.326, allocations: 39.34 kB / 0.8096 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.354e-05/1.326, allocations: 11.73 kB / 0.8096 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/1.326, allocations: 19.92 kB / 0.8096 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/1.327, allocations: 49.78 kB / 0.8097 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/1.327, allocations: 19.8 kB / 0.8097 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002364/1.327, allocations: 203.9 kB / 0.8099 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.327, allocations: 0 / 0.8099 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01243/1.339, allocations: 3.568 MB / 0.8134 GB, free: 2.172 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.02227/1.361, allocations: 4.618 MB / 0.8179 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002559/1.364, allocations: 0.998 MB / 0.8188 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.364, allocations: 4 kB / 0.8188 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009388/1.365, allocations: 485.4 kB / 0.8193 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/1.367, allocations: 371.7 kB / 0.8197 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/1.369, allocations: 1.208 MB / 0.8208 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/1.37, allocations: 253.1 kB / 0.8211 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004691/1.37, allocations: 131.1 kB / 0.8212 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/1.37, allocations: 48.44 kB / 0.8213 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/1.37, allocations: 2.078 kB / 0.8213 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of Templates: time 0.4154/1.785, allocations: 126.4 MB / 0.9447 GB, free: 322.6 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 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.04948945401702] Failed to read output from testmodel.py, exit status != 0: 1.7945396209834144 1.805147604 0.770699115 Calling exit ...