Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5144/0.5144, allocations: 87.51 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 102.2 kB / 420 MB, free: 8.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009706/0.0009708, allocations: 51.92 kB / 0.4891 GB, free: 7.676 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3619, allocations: 70.07 MB / 0.5575 GB, free: 44.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04472/0.4066, allocations: 60.82 MB / 0.6169 GB, free: 164 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01726/0.4239, allocations: 12.06 MB / 0.6287 GB, free: 4.066 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/0.4262, allocations: 55.62 kB / 0.6287 GB, free: 4.012 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.4279, allocations: 0.5399 MB / 0.6292 GB, free: 3.469 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005119/0.433, allocations: 1.809 MB / 0.631 GB, free: 1.652 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.4362, allocations: 1.074 MB / 0.6321 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004536/0.4407, allocations: 3.929 MB / 0.6359 GB, free: 12.65 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.4421, allocations: 0.9574 MB / 0.6368 GB, free: 11.66 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002326/0.4445, allocations: 1.167 MB / 0.638 GB, free: 10.49 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.4458, allocations: 0.9138 MB / 0.6389 GB, free: 9.57 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.4459, allocations: 60 kB / 0.6389 GB, free: 9.512 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/0.4484, allocations: 1.341 MB / 0.6402 GB, free: 8.168 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.4486, allocations: 238.9 kB / 0.6405 GB, free: 7.934 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006984/0.4493, allocations: 0.6372 MB / 0.6411 GB, free: 7.293 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003048/0.4524, allocations: 2.255 MB / 0.6433 GB, free: 5.031 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.766e-05/0.4524, allocations: 3.984 kB / 0.6433 GB, free: 5.027 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4524, allocations: 0 / 0.6433 GB, free: 5.027 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.4525, allocations: 0 / 0.6433 GB, free: 5.027 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003069/0.4555, allocations: 1.738 MB / 0.645 GB, free: 3.227 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4556, allocations: 12.03 kB / 0.645 GB, free: 3.215 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/0.4579, allocations: 454.7 kB / 0.6454 GB, free: 2.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/0.4599, allocations: 1.136 MB / 0.6465 GB, free: 1.578 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/0.4602, allocations: 121.9 kB / 0.6467 GB, free: 1.457 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.4603, allocations: 84 kB / 0.6467 GB, free: 1.375 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.4624, allocations: 1.006 MB / 0.6477 GB, free: 348 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.4624, allocations: 4 kB / 0.6477 GB, free: 344 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-05/0.4625, allocations: 28 kB / 0.6477 GB, free: 316 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.4625, allocations: 20 kB / 0.6478 GB, free: 296 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.465, allocations: 0.9524 MB / 0.6487 GB, free: 15.34 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006079/0.4711, allocations: 4.673 MB / 0.6533 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004057/0.4752, allocations: 1.004 MB / 0.6542 GB, free: 9.309 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.4763, allocations: 413.8 kB / 0.6546 GB, free: 8.902 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009432/0.4772, allocations: 1.017 MB / 0.6556 GB, free: 7.664 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.4773, allocations: 47 kB / 0.6557 GB, free: 7.609 MB / 474.7 MB Notification: Performance of pre-optimization done (n=53): time 2.404e-06/0.4773, allocations: 0 / 0.6557 GB, free: 7.609 MB / 474.7 MB Notification: Performance of matching and sorting (n=53): time 0.00974/0.487, allocations: 2.232 MB / 0.6578 GB, free: 5.344 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.4871, allocations: 55.84 kB / 0.6579 GB, free: 5.277 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.4885, allocations: 0.9314 MB / 0.6588 GB, free: 4.328 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.612e-05/0.4886, allocations: 37.7 kB / 0.6588 GB, free: 4.285 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.489, allocations: 0.5157 MB / 0.6594 GB, free: 3.766 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.4892, allocations: 185.3 kB / 0.6595 GB, free: 3.582 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.4895, allocations: 126.1 kB / 0.6596 GB, free: 3.449 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4896, allocations: 330 kB / 0.66 GB, free: 3.121 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.4906, allocations: 358.8 kB / 0.6603 GB, free: 2.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.4918, allocations: 0.5194 MB / 0.6608 GB, free: 2.188 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/0.494, allocations: 0.758 MB / 0.6616 GB, free: 1.398 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.494, allocations: 0 / 0.6616 GB, free: 1.398 MB / 474.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003007/0.497, allocations: 1.072 MB / 0.6626 GB, free: 320 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.497, allocations: 8 kB / 0.6626 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.497, allocations: 3.938 kB / 0.6626 GB, free: 308 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.4983, allocations: 313.6 kB / 0.6629 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/0.499, allocations: 131.7 kB / 0.663 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.5005, allocations: 0.9139 MB / 0.6639 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.5016, allocations: 163.3 kB / 0.6641 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-05/0.5017, allocations: 31.92 kB / 0.6641 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001393/0.5031, allocations: 0.5634 MB / 0.6647 GB, free: 14.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001153/0.5043, allocations: 0.5117 MB / 0.6652 GB, free: 13.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002056/0.5064, allocations: 0.7618 MB / 0.6659 GB, free: 12.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.445e-06/0.5064, allocations: 0 / 0.6659 GB, free: 12.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00304/0.5094, allocations: 1.057 MB / 0.6669 GB, free: 11.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.5095, allocations: 17.75 kB / 0.667 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.5095, allocations: 4 kB / 0.667 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.5106, allocations: 296.9 kB / 0.6672 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006329/0.5112, allocations: 135.8 kB / 0.6674 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.5127, allocations: 0.9036 MB / 0.6683 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.5139, allocations: 143.5 kB / 0.6684 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/0.514, allocations: 31.98 kB / 0.6684 GB, free: 10.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002283/0.5142, allocations: 224 kB / 0.6686 GB, free: 9.953 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.5144, allocations: 110.7 kB / 0.6687 GB, free: 9.844 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004548/0.5189, allocations: 1.311 MB / 0.67 GB, free: 8.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.519, allocations: 12 kB / 0.67 GB, free: 8.508 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.519, allocations: 0 / 0.67 GB, free: 8.508 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.519, allocations: 3.984 kB / 0.67 GB, free: 8.504 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005894/0.5249, allocations: 2.416 MB / 0.6724 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.5249, allocations: 4 kB / 0.6724 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/0.5255, allocations: 108 kB / 0.6725 GB, free: 5.898 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/0.5265, allocations: 296.6 kB / 0.6728 GB, free: 5.605 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/0.5266, allocations: 19.98 kB / 0.6728 GB, free: 5.586 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.528, allocations: 0.9365 MB / 0.6737 GB, free: 4.625 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.5281, allocations: 12.03 kB / 0.6737 GB, free: 4.613 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005952/0.534, allocations: 2.553 MB / 0.6762 GB, free: 1.984 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004541/0.5345, allocations: 279.5 kB / 0.6765 GB, free: 1.691 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.5346, allocations: 12 kB / 0.6765 GB, free: 1.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009152/0.5355, allocations: 111.8 kB / 0.6766 GB, free: 1.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.5356, allocations: 40.38 kB / 0.6766 GB, free: 1.531 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.195e-05/0.5357, allocations: 27.97 kB / 0.6767 GB, free: 1.504 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000823/0.5365, allocations: 0.6595 MB / 0.6773 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5365, allocations: 0 / 0.6773 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001591/0.5381, allocations: 0.5886 MB / 0.6779 GB, free: 252 kB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006966/0.5388, allocations: 376.3 kB / 0.6783 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003864/0.5427, allocations: 1.323 MB / 0.6795 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5427, allocations: 0 / 0.6795 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.544, allocations: 456.8 kB / 0.68 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.5465, allocations: 0.5058 MB / 0.6805 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/0.5507, allocations: 2.641 MB / 0.6831 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005906/0.5513, allocations: 1.086 MB / 0.6841 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009894/0.5523, allocations: 230.9 kB / 0.6843 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.5525, allocations: 83.41 kB / 0.6844 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of SimCode: time 2.254e-06/0.5525, allocations: 0 / 0.6844 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.0386/0.5911, allocations: 24.45 MB / 0.7083 GB, free: 1.25 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)