Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.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.001905/0.001905, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.002093/0.002093, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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.06047/0.06047, allocations: 7.51 MB / 267.1 MB, free: 6.039 MB / 250.7 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 4 kB / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.444e-05, allocations: 2.312 kB / 338 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.2963/0.2963, allocations: 143.5 MB / 481.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3247/0.621, allocations: 99.26 MB / 0.5671 GB, free: 3.059 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005222/0.6215, allocations: 11.81 kB / 0.5671 GB, free: 3.059 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002943/0.6244, allocations: 1.254 MB / 0.5684 GB, free: 3.047 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003353/0.6278, allocations: 1.599 MB / 0.5699 GB, free: 3.035 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06832/0.6961, allocations: 31.79 MB / 0.601 GB, free: 15.39 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.6979, allocations: 1.442 MB / 0.6024 GB, free: 15.07 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.6982, allocations: 78.94 kB / 0.6024 GB, free: 15.05 MB / 442.7 MB [/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.01753/0.7157, allocations: 10.43 MB / 0.6126 GB, free: 12.08 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006569/0.7163, allocations: 344.4 kB / 0.613 GB, free: 11.98 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.682e-05/0.7164, allocations: 43.62 kB / 0.613 GB, free: 11.98 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03838/0.7548, allocations: 20.21 MB / 0.6327 GB, free: 6.188 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.755, allocations: 126.5 kB / 0.6329 GB, free: 6.145 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004622/0.7555, allocations: 222.9 kB / 0.6331 GB, free: 6.109 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0331/0.7886, allocations: 11.86 MB / 0.6446 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7886, allocations: 0 / 0.6446 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.7886, allocations: 0 / 0.6446 GB, free: 13.83 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.7886, allocations: 0 / 0.6446 GB, free: 13.83 MB / 458.7 MB 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.00632/0.7949, allocations: 2.273 MB / 0.6469 GB, free: 11.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.795, allocations: 8.625 kB / 0.6469 GB, free: 11.63 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006763/0.7957, allocations: 149.9 kB / 0.647 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.7962, allocations: 283.8 kB / 0.6473 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.076e-05/0.7962, allocations: 31.28 kB / 0.6473 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.769e-05/0.7963, allocations: 34.62 kB / 0.6474 GB, free: 11.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.7976, allocations: 0.6721 MB / 0.648 GB, free: 10.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.7976, allocations: 0 / 0.648 GB, free: 10.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.7976, allocations: 14.38 kB / 0.648 GB, free: 10.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/0.7977, allocations: 21.27 kB / 0.648 GB, free: 10.58 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.7987, allocations: 381.4 kB / 0.6484 GB, free: 10.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002738/0.8014, allocations: 1.954 MB / 0.6503 GB, free: 8.652 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.8024, allocations: 348.4 kB / 0.6506 GB, free: 8.344 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/0.8029, allocations: 185.2 kB / 0.6508 GB, free: 8.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1576/0.9604, allocations: 32.99 MB / 0.683 GB, free: 7.293 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/0.9605, allocations: 37.67 kB / 0.6831 GB, free: 7.246 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 2.104e-06/0.9605, allocations: 4 kB / 0.6831 GB, free: 7.242 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.006929/0.9674, allocations: 1.911 MB / 0.6849 GB, free: 5.301 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.9675, allocations: 55.41 kB / 0.685 GB, free: 5.234 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.9679, allocations: 314.6 kB / 0.6853 GB, free: 4.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.186e-05/0.968, allocations: 33.7 kB / 0.6853 GB, free: 4.871 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.9682, allocations: 252.1 kB / 0.6856 GB, free: 4.621 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000374/0.9686, allocations: 316.5 kB / 0.6859 GB, free: 4.316 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.9688, allocations: 147.8 kB / 0.686 GB, free: 4.164 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003898/0.9692, allocations: 0.5587 MB / 0.6866 GB, free: 3.594 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.9697, allocations: 161.4 kB / 0.6867 GB, free: 3.438 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006795/0.9704, allocations: 362.4 kB / 0.6871 GB, free: 3.027 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.9716, allocations: 0.5723 MB / 0.6876 GB, free: 2.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.9716, allocations: 4 kB / 0.6876 GB, free: 2.406 MB / 490.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001655/0.9733, allocations: 0.6368 MB / 0.6882 GB, free: 1.773 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.9733, allocations: 14.25 kB / 0.6883 GB, free: 1.762 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.9733, allocations: 4 kB / 0.6883 GB, free: 1.758 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009141/0.9742, allocations: 159.4 kB / 0.6884 GB, free: 1.594 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006173/0.9748, allocations: 113.3 kB / 0.6885 GB, free: 1.488 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004688/0.9795, allocations: 5.368 MB / 0.6938 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/0.9799, allocations: 20.23 kB / 0.6938 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/0.98, allocations: 20 kB / 0.6938 GB, free: 11.86 MB / 0.4948 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): 39 * 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, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004203/0.9804, allocations: 230.5 kB / 0.694 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.9806, allocations: 59.66 kB / 0.6941 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003386/0.984, allocations: 1.926 MB / 0.696 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.693e-05/0.984, allocations: 15.89 kB / 0.696 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.984, allocations: 3.938 kB / 0.696 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001852/0.9859, allocations: 0.9042 MB / 0.6969 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.9889, allocations: 1.312 MB / 0.6981 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/0.9889, allocations: 0 / 0.6981 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003476/0.9892, allocations: 63.23 kB / 0.6982 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006993/0.9899, allocations: 197.8 kB / 0.6984 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.99, allocations: 12 kB / 0.6984 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.992, allocations: 2.514 MB / 0.7009 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.992, allocations: 144 / 0.7009 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.994, allocations: 1.048 MB / 0.7019 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.9941, allocations: 39.7 kB / 0.7019 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.513e-05/0.9942, allocations: 11.94 kB / 0.7019 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.9945, allocations: 19.98 kB / 0.7019 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.9946, allocations: 43.92 kB / 0.702 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.9946, allocations: 12.03 kB / 0.702 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002978/0.9949, allocations: 253.1 kB / 0.7022 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.9949, allocations: 0 / 0.7022 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005804/1.001, allocations: 2.016 MB / 0.7042 GB, free: 0.8438 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.d,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse2.phase,$cse3.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 (35): * Single equations (assignments): 29 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01073/1.011, allocations: 3.069 MB / 0.7072 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002252/1.014, allocations: 0.7257 MB / 0.7079 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.014, allocations: 0 / 0.7079 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000809/1.015, allocations: 322.4 kB / 0.7082 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/1.017, allocations: 377.2 kB / 0.7086 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/1.019, allocations: 1.055 MB / 0.7096 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/1.019, allocations: 250.2 kB / 0.7099 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003793/1.019, allocations: 81.83 kB / 0.7099 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/1.02, allocations: 40.48 kB / 0.71 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.082e-06/1.02, allocations: 0 / 0.71 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.2209/1.24, allocations: 71.97 MB / 0.7803 GB, free: 276 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.929893007036299]