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.001292/0.001292, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009245/0.0009245, allocations: 177 kB / 23.49 MB, free: 1.055 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 0.8824/0.8824, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.02944/0.02944, allocations: 7.525 MB / 267.8 MB, free: 6.062 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.453e-06/1.453e-06, allocations: 3.938 kB / 338.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.581e-05, allocations: 2.312 kB / 338.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.2271/0.2272, allocations: 143.5 MB / 482.2 MB, free: 14.33 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.2285/0.4557, allocations: 99.24 MB / 0.5678 GB, free: 3.109 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004689/0.4562, allocations: 8.438 kB / 0.5678 GB, free: 3.109 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.4582, allocations: 1.248 MB / 0.569 GB, free: 3.102 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.4607, allocations: 1.604 MB / 0.5706 GB, free: 3.09 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05159/0.5123, allocations: 31.78 MB / 0.6016 GB, free: 15.45 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.5138, allocations: 1.444 MB / 0.603 GB, free: 15.12 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.514, allocations: 80.89 kB / 0.6031 GB, free: 15.11 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.01048/0.5245, allocations: 10.44 MB / 0.6133 GB, free: 12.17 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000377/0.5249, allocations: 336.1 kB / 0.6136 GB, free: 12.07 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.748e-05/0.5249, allocations: 42.88 kB / 0.6137 GB, free: 12.07 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02611/0.551, allocations: 20.21 MB / 0.6334 GB, free: 6.277 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.5512, allocations: 139.8 kB / 0.6335 GB, free: 6.227 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.5514, allocations: 215 kB / 0.6337 GB, free: 6.195 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01708/0.5685, allocations: 11.56 MB / 0.645 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5685, allocations: 0 / 0.645 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5685, allocations: 0 / 0.645 GB, free: 14.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.5685, allocations: 0 / 0.645 GB, free: 14.16 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.003975/0.5725, allocations: 2.239 MB / 0.6472 GB, free: 11.99 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.5725, allocations: 8.625 kB / 0.6472 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003909/0.5729, allocations: 150.4 kB / 0.6474 GB, free: 11.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.5732, allocations: 291.3 kB / 0.6476 GB, free: 11.59 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.5732, allocations: 35.34 kB / 0.6477 GB, free: 11.57 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.5733, allocations: 34.88 kB / 0.6477 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006711/0.574, allocations: 0.5931 MB / 0.6483 GB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.574, allocations: 0 / 0.6483 GB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.574, allocations: 11.38 kB / 0.6483 GB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.574, allocations: 23.86 kB / 0.6483 GB, free: 10.95 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.5744, allocations: 255.6 kB / 0.6486 GB, free: 10.73 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.5758, allocations: 1.778 MB / 0.6503 GB, free: 9.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.5762, allocations: 279.6 kB / 0.6506 GB, free: 8.941 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.5764, allocations: 119.1 kB / 0.6507 GB, free: 8.836 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06567/0.642, allocations: 32.99 MB / 0.6829 GB, free: 8.105 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.6421, allocations: 37.67 kB / 0.6829 GB, free: 8.059 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 2.455e-06/0.6421, allocations: 0 / 0.6829 GB, free: 8.059 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.003748/0.6458, allocations: 1.637 MB / 0.6845 GB, free: 6.402 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.6459, allocations: 59.34 kB / 0.6846 GB, free: 6.332 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.6461, allocations: 278.6 kB / 0.6849 GB, free: 6.043 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.6461, allocations: 29.7 kB / 0.6849 GB, free: 6.008 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.6462, allocations: 240.1 kB / 0.6851 GB, free: 5.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.6463, allocations: 290.4 kB / 0.6854 GB, free: 5.488 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.6465, allocations: 119.8 kB / 0.6855 GB, free: 5.363 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.6466, allocations: 0.5391 MB / 0.686 GB, free: 4.812 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.6468, allocations: 93.47 kB / 0.6861 GB, free: 4.723 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.647, allocations: 274.8 kB / 0.6864 GB, free: 4.398 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.6474, allocations: 426.4 kB / 0.6868 GB, free: 3.941 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6474, allocations: 0 / 0.6868 GB, free: 3.941 MB / 490.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006319/0.648, allocations: 0.5047 MB / 0.6873 GB, free: 3.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.648, allocations: 4 kB / 0.6873 GB, free: 3.426 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.6481, allocations: 10.98 kB / 0.6873 GB, free: 3.418 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004574/0.6485, allocations: 139.1 kB / 0.6874 GB, free: 3.273 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.6488, allocations: 109.4 kB / 0.6875 GB, free: 3.172 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.6509, allocations: 5.248 MB / 0.6927 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.6511, allocations: 23.98 kB / 0.6927 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.6511, allocations: 19.94 kB / 0.6927 GB, free: 13.66 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.0001462/0.6513, allocations: 190.8 kB / 0.6929 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.199e-05/0.6513, allocations: 59.66 kB / 0.6929 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.6526, allocations: 1.493 MB / 0.6944 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.6526, allocations: 14.98 kB / 0.6944 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.6526, allocations: 3.938 kB / 0.6944 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00058/0.6532, allocations: 0.8105 MB / 0.6952 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.6543, allocations: 1.131 MB / 0.6963 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.6543, allocations: 48 / 0.6963 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.6545, allocations: 75.12 kB / 0.6964 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003304/0.6548, allocations: 179.8 kB / 0.6966 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.6548, allocations: 12 kB / 0.6966 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.656, allocations: 2.461 MB / 0.699 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.656, allocations: 3.984 kB / 0.699 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008045/0.6568, allocations: 0.8527 MB / 0.6998 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.6569, allocations: 35.72 kB / 0.6998 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.6569, allocations: 7.938 kB / 0.6998 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.657, allocations: 19.98 kB / 0.6999 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-05/0.6571, allocations: 39.92 kB / 0.6999 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.6571, allocations: 15.98 kB / 0.6999 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001296/0.6573, allocations: 217.1 kB / 0.7001 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6573, allocations: 0 / 0.7001 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004545/0.6618, allocations: 2.006 MB / 0.7021 GB, free: 3.703 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.005122/0.6669, allocations: 3.073 MB / 0.7051 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.668, allocations: 0.5909 MB / 0.7057 GB, free: 324 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.668, allocations: 0 / 0.7057 GB, free: 324 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.6683, allocations: 256.5 kB / 0.7059 GB, free: 72 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/0.6693, allocations: 372.3 kB / 0.7063 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.6706, allocations: 1.012 MB / 0.7072 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.588e-05/0.6707, allocations: 131.4 kB / 0.7074 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002255/0.6709, allocations: 79.17 kB / 0.7074 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.671, allocations: 40.48 kB / 0.7075 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/0.671, allocations: 4 kB / 0.7075 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of Templates: time 0.2072/0.8782, allocations: 71.97 MB / 0.7778 GB, free: 137.1 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: 6.968421689001843]