Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.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.001424/0.001424, allocations: 79.89 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.001651/0.001651, allocations: 157.9 kB / 23.01 MB, free: 4.602 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.538/1.538, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.04901/0.04901, allocations: 7.528 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.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.89 kB / 392.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1175, allocations: 54.92 MB / 447.7 MB, free: 4.598 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.3599/0.4774, allocations: 127 MB / 0.5612 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.1055/0.5829, allocations: 86.74 MB / 0.6459 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006379/0.5836, allocations: 11.94 kB / 0.646 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003241/0.5868, allocations: 1.229 MB / 0.6472 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004383/0.5912, allocations: 1.579 MB / 0.6487 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0853/0.6765, allocations: 31.35 MB / 0.6793 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002204/0.6787, allocations: 1.426 MB / 0.6807 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.679, allocations: 77.91 kB / 0.6808 GB, free: 13.09 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.01848/0.6974, allocations: 10.18 MB / 0.6907 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006569/0.6981, allocations: 382.4 kB / 0.6911 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.023e-05/0.6982, allocations: 40 kB / 0.6911 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3479/1.046, allocations: 21.58 MB / 0.7122 GB, free: 38.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00026/1.046, allocations: 126 kB / 0.7123 GB, free: 38.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00055/1.047, allocations: 253.6 kB / 0.7126 GB, free: 38.08 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04338/1.09, allocations: 10.87 MB / 0.7232 GB, free: 37.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.09, allocations: 0.875 kB / 0.7232 GB, free: 37.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.964e-06/1.09, allocations: 0 / 0.7232 GB, free: 37.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.387e-05/1.09, allocations: 0 / 0.7232 GB, free: 37.73 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.008681/1.099, allocations: 2.291 MB / 0.7254 GB, free: 36.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.099, allocations: 10.94 kB / 0.7254 GB, free: 36.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006321/1.1, allocations: 83.41 kB / 0.7255 GB, free: 36.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/1.1, allocations: 282 kB / 0.7258 GB, free: 36.28 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/1.1, allocations: 30.47 kB / 0.7258 GB, free: 36.28 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/1.1, allocations: 42.81 kB / 0.7258 GB, free: 36.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/1.101, allocations: 0.7472 MB / 0.7266 GB, free: 35.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/1.101, allocations: 1.875 kB / 0.7266 GB, free: 35.99 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/1.101, allocations: 17.14 kB / 0.7266 GB, free: 35.99 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/1.102, allocations: 16.22 kB / 0.7266 GB, free: 35.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/1.103, allocations: 0.5295 MB / 0.7271 GB, free: 35.99 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/1.105, allocations: 1.64 MB / 0.7287 GB, free: 35.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/1.106, allocations: 476.1 kB / 0.7292 GB, free: 35.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004845/1.106, allocations: 312.1 kB / 0.7295 GB, free: 35.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1527/1.259, allocations: 37.46 MB / 0.7661 GB, free: 28.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/1.259, allocations: 42.58 kB / 0.7661 GB, free: 28.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 3.957e-06/1.259, allocations: 0 / 0.7661 GB, free: 28.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.006004/1.265, allocations: 2.245 MB / 0.7683 GB, free: 27.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/1.265, allocations: 55.41 kB / 0.7683 GB, free: 26.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/1.265, allocations: 230 kB / 0.7686 GB, free: 26.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/1.265, allocations: 37.45 kB / 0.7686 GB, free: 26.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/1.265, allocations: 196.7 kB / 0.7688 GB, free: 26.58 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/1.265, allocations: 275.1 kB / 0.7691 GB, free: 26.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/1.266, allocations: 104.4 kB / 0.7692 GB, free: 26.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.934e-05/1.266, allocations: 352 kB / 0.7695 GB, free: 25.94 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/1.266, allocations: 286.7 kB / 0.7698 GB, free: 25.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/1.267, allocations: 404.5 kB / 0.7701 GB, free: 25.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/1.268, allocations: 0.7107 MB / 0.7708 GB, free: 24.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.268, allocations: 0 / 0.7708 GB, free: 24.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001372/1.269, allocations: 0.8265 MB / 0.7716 GB, free: 24.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.269, allocations: 8 kB / 0.7717 GB, free: 24.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.269, allocations: 4 kB / 0.7717 GB, free: 24.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004929/1.27, allocations: 108.5 kB / 0.7718 GB, free: 24.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/1.27, allocations: 106.6 kB / 0.7719 GB, free: 24.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06842/1.338, allocations: 18.95 MB / 0.7904 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/1.339, allocations: 30.66 kB / 0.7904 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/1.339, allocations: 16.41 kB / 0.7904 GB, free: 6.117 MB / 0.5606 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 (47): * Single equations (assignments): 40 * 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, 2} * 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.0002717/1.339, allocations: 205.4 kB / 0.7906 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/1.339, allocations: 35.77 kB / 0.7906 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/1.341, allocations: 1.731 MB / 0.7923 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/1.341, allocations: 11.86 kB / 0.7923 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.341, allocations: 0 / 0.7923 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001296/1.343, allocations: 1.294 MB / 0.7936 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/1.345, allocations: 1.632 MB / 0.7952 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.345, allocations: 0 / 0.7952 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/1.345, allocations: 85.75 kB / 0.7953 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002942/1.345, allocations: 186.8 kB / 0.7955 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/1.345, allocations: 15.58 kB / 0.7955 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/1.347, allocations: 2.464 MB / 0.7979 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.347, allocations: 1.203 kB / 0.7979 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/1.349, allocations: 1.477 MB / 0.7993 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/1.349, allocations: 39.69 kB / 0.7994 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.15e-05/1.349, allocations: 15.86 kB / 0.7994 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/1.35, allocations: 27.73 kB / 0.7994 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.35, allocations: 47.59 kB / 0.7995 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/1.35, allocations: 8 kB / 0.7995 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002366/1.35, allocations: 206.6 kB / 0.7997 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/1.35, allocations: 0 / 0.7997 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01229/1.362, allocations: 3.276 MB / 0.8029 GB, free: 11.26 MB / 0.5762 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.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), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02247/1.385, allocations: 4.208 MB / 0.807 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002256/1.387, allocations: 0.9659 MB / 0.8079 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.387, allocations: 4.062 kB / 0.8079 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009179/1.388, allocations: 494.7 kB / 0.8084 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/1.39, allocations: 383 kB / 0.8088 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/1.392, allocations: 1.221 MB / 0.8099 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/1.392, allocations: 254.8 kB / 0.8102 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003829/1.393, allocations: 101.9 kB / 0.8103 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.701e-05/1.393, allocations: 40.31 kB / 0.8103 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/1.393, allocations: 4.984 kB / 0.8103 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of Templates: time 0.1941/1.587, allocations: 122.2 MB / 0.9296 GB, free: 11.91 MB / 0.7012 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.265085645020008] Failed to read output from testmodel.py, exit status != 0: 1.595768544008024 1.608060558 0.5147194319999999 Calling exit ...