Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 115.5 kB / 17.08 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 189.9 kB / 18.01 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7195/0.7195, allocations: 126.1 MB / 417.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 72.69 kB / 0.5738 GB, free: 27.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.142, allocations: 78.7 MB / 0.6506 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y): time 0.06422/0.2063, allocations: 75.37 MB / 0.7243 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01821/0.2246, allocations: 12.79 MB / 0.7367 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002876/0.2275, allocations: 67.62 kB / 0.7368 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002713/0.2303, allocations: 0.8579 MB / 0.7376 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007446/0.2377, allocations: 2.606 MB / 0.7402 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.2415, allocations: 1.41 MB / 0.7416 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006141/0.2476, allocations: 4.422 MB / 0.7459 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002482/0.2502, allocations: 1.445 MB / 0.7473 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3538/0.604, allocations: 1.676 MB / 0.7489 GB, free: 31.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002797/0.6068, allocations: 1.207 MB / 0.7501 GB, free: 31.05 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004641/0.6073, allocations: 163.6 kB / 0.7503 GB, free: 31.05 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.611, allocations: 1.4 MB / 0.7516 GB, free: 31.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005842/0.6116, allocations: 407.6 kB / 0.752 GB, free: 31.05 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001677/0.6133, allocations: 0.9251 MB / 0.7529 GB, free: 30.85 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006417/0.6198, allocations: 2.9 MB / 0.7558 GB, free: 30.49 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.6198, allocations: 1.844 kB / 0.7558 GB, free: 30.49 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6198, allocations: 0 / 0.7558 GB, free: 30.49 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.253e-05/0.6199, allocations: 0 / 0.7558 GB, free: 30.49 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005269/0.6252, allocations: 2.171 MB / 0.7579 GB, free: 29.39 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.6252, allocations: 8.906 kB / 0.7579 GB, free: 29.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.6263, allocations: 241.2 kB / 0.7581 GB, free: 29.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003399/0.6297, allocations: 1.553 MB / 0.7596 GB, free: 28.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.808e-05/0.6298, allocations: 79.72 kB / 0.7597 GB, free: 28.88 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.63, allocations: 104.4 kB / 0.7598 GB, free: 28.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.6322, allocations: 1.097 MB / 0.7609 GB, free: 28.74 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.6323, allocations: 5.688 kB / 0.7609 GB, free: 28.74 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.587e-05/0.6324, allocations: 40.97 kB / 0.7609 GB, free: 28.74 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.204e-05/0.6324, allocations: 27.22 kB / 0.761 GB, free: 28.74 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.6344, allocations: 0.8927 MB / 0.7618 GB, free: 28.73 MB / 0.5762 GB 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.00708/0.6415, allocations: 4.943 MB / 0.7667 GB, free: 26.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.643, allocations: 0.6011 MB / 0.7672 GB, free: 26.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000757/0.6437, allocations: 349.3 kB / 0.7676 GB, free: 26.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005277/0.6443, allocations: 0.8214 MB / 0.7684 GB, free: 25.56 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.6443, allocations: 39.97 kB / 0.7684 GB, free: 25.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 5.35e-06/0.6443, allocations: 0 / 0.7684 GB, free: 25.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007487/0.6518, allocations: 1.72 MB / 0.7701 GB, free: 25.26 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.6519, allocations: 59.73 kB / 0.7701 GB, free: 25.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/0.6539, allocations: 1.26 MB / 0.7714 GB, free: 25.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001911/0.6541, allocations: 38.45 kB / 0.7714 GB, free: 25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/0.6546, allocations: 0.622 MB / 0.772 GB, free: 24.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.6549, allocations: 224.8 kB / 0.7722 GB, free: 24.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/0.6551, allocations: 151.6 kB / 0.7724 GB, free: 24.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.6552, allocations: 332.6 kB / 0.7727 GB, free: 24.31 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006327/0.6558, allocations: 291 kB / 0.773 GB, free: 24.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007608/0.6566, allocations: 496.3 kB / 0.7735 GB, free: 24.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.6579, allocations: 0.7059 MB / 0.7741 GB, free: 23.94 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.6579, allocations: 7.125 kB / 0.7741 GB, free: 23.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004456/0.6623, allocations: 1.278 MB / 0.7754 GB, free: 23.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.6624, allocations: 10.19 kB / 0.7754 GB, free: 23.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.6624, allocations: 3.562 kB / 0.7754 GB, free: 23.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006198/0.663, allocations: 147.9 kB / 0.7755 GB, free: 23.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/0.6636, allocations: 158.3 kB / 0.7757 GB, free: 23.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007028/0.6643, allocations: 0.7034 MB / 0.7764 GB, free: 23.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.6657, allocations: 124.9 kB / 0.7765 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-05/0.6658, allocations: 34.12 kB / 0.7765 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001174/0.667, allocations: 0.5567 MB / 0.7771 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006935/0.6677, allocations: 487 kB / 0.7775 GB, free: 22.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001222/0.669, allocations: 0.6998 MB / 0.7782 GB, free: 22.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.807e-06/0.669, allocations: 1.844 kB / 0.7782 GB, free: 22.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004421/0.6734, allocations: 1.275 MB / 0.7795 GB, free: 22.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.6734, allocations: 6.719 kB / 0.7795 GB, free: 22.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.6734, allocations: 4.156 kB / 0.7795 GB, free: 22.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005249/0.674, allocations: 152.5 kB / 0.7796 GB, free: 22.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.6746, allocations: 153.4 kB / 0.7798 GB, free: 22.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006725/0.6752, allocations: 0.7107 MB / 0.7805 GB, free: 22.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.6767, allocations: 99.55 kB / 0.7806 GB, free: 22.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/0.6768, allocations: 33.56 kB / 0.7806 GB, free: 22.04 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002794/0.677, allocations: 223.3 kB / 0.7808 GB, free: 21.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002899/0.6773, allocations: 141.1 kB / 0.7809 GB, free: 21.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004226/0.6816, allocations: 1.267 MB / 0.7822 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.6816, allocations: 5.812 kB / 0.7822 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.6816, allocations: 4 kB / 0.7822 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003535/0.6852, allocations: 1.096 MB / 0.7833 GB, free: 21.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006448/0.6916, allocations: 2.596 MB / 0.7858 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.6917, allocations: 5.969 kB / 0.7858 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/0.6921, allocations: 119.2 kB / 0.7859 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004725/0.6926, allocations: 143.7 kB / 0.7861 GB, free: 20.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.6927, allocations: 16 kB / 0.7861 GB, free: 20.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004162/0.6968, allocations: 2.632 MB / 0.7886 GB, free: 19.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.6969, allocations: 7.781 kB / 0.7886 GB, free: 19.33 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004839/0.7017, allocations: 1.696 MB / 0.7903 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008455/0.7026, allocations: 311.4 kB / 0.7906 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/0.7028, allocations: 24.36 kB / 0.7906 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007643/0.7036, allocations: 57.17 kB / 0.7907 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.7037, allocations: 56.55 kB / 0.7907 GB, free: 18.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-05/0.7038, allocations: 31.94 kB / 0.7908 GB, free: 18.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001132/0.7049, allocations: 0.902 MB / 0.7916 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7049, allocations: 112 / 0.7916 GB, free: 18.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002022/0.7069, allocations: 0.7341 MB / 0.7924 GB, free: 18.54 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009948/0.708, allocations: 487.8 kB / 0.7928 GB, free: 18.37 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00236/0.7103, allocations: 1.115 MB / 0.7939 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.7103, allocations: 5 kB / 0.7939 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.7116, allocations: 0.5555 MB / 0.7945 GB, free: 17.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003363/0.715, allocations: 0.8173 MB / 0.7953 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.7185, allocations: 2.374 MB / 0.7976 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.719, allocations: 1.173 MB / 0.7987 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/0.7193, allocations: 113.8 kB / 0.7988 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.7193, allocations: 0 / 0.7988 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of Templates: time 0.03652/0.7559, allocations: 32.35 MB / 0.8304 GB, free: 2.312 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe 2>&1)