Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.001021/0.001021, allocations: 196 kB / 17.98 MB, free: 5.031 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.244/1.244, 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.6799/0.6799, allocations: 115.1 MB / 406.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 55.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3225, allocations: 76.15 MB / 0.5576 GB, free: 36.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06207/0.3846, allocations: 75.19 MB / 0.631 GB, free: 9.328 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0198/0.4045, allocations: 15.16 MB / 0.6458 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003145/0.4077, allocations: 67.62 kB / 0.6459 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002549/0.4102, allocations: 0.8228 MB / 0.6467 GB, free: 9.227 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006749/0.417, allocations: 2.595 MB / 0.6492 GB, free: 6.621 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003208/0.4203, allocations: 1.395 MB / 0.6506 GB, free: 5.242 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005221/0.4255, allocations: 4.407 MB / 0.6549 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.4273, allocations: 1.447 MB / 0.6563 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.4304, allocations: 1.63 MB / 0.6579 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.432, allocations: 1.217 MB / 0.6591 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000216/0.4322, allocations: 160 kB / 0.6592 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.4348, allocations: 1.404 MB / 0.6606 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.4352, allocations: 398.6 kB / 0.661 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008974/0.4361, allocations: 0.9021 MB / 0.6618 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003341/0.4394, allocations: 2.875 MB / 0.6646 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.4394, allocations: 0 / 0.6646 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4394, allocations: 0 / 0.6646 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.348e-05/0.4395, allocations: 4 kB / 0.6647 GB, free: 6.746 MB / 0.4981 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.003415/0.4429, allocations: 2.087 MB / 0.6667 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.4429, allocations: 12.03 kB / 0.6667 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007371/0.4437, allocations: 222.9 kB / 0.6669 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.4461, allocations: 1.521 MB / 0.6684 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.975e-05/0.4461, allocations: 78 kB / 0.6685 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.4463, allocations: 103.9 kB / 0.6686 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.4481, allocations: 1.104 MB / 0.6697 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.4481, allocations: 4 kB / 0.6697 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-05/0.4482, allocations: 36 kB / 0.6697 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/0.4483, allocations: 31.94 kB / 0.6697 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.4501, allocations: 0.89 MB / 0.6706 GB, free: 0.5117 MB / 0.4981 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.005761/0.4559, allocations: 4.901 MB / 0.6754 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.4572, allocations: 0.6236 MB / 0.676 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006281/0.4579, allocations: 342.8 kB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005812/0.4585, allocations: 0.8316 MB / 0.6771 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.4585, allocations: 39.12 kB / 0.6772 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.023e-06/0.4585, allocations: 0 / 0.6772 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.00657/0.4651, allocations: 1.689 MB / 0.6788 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.4651, allocations: 59.91 kB / 0.6789 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.4668, allocations: 1.234 MB / 0.6801 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.4669, allocations: 37.7 kB / 0.6801 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000491/0.4674, allocations: 0.6104 MB / 0.6807 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.4676, allocations: 208.9 kB / 0.6809 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/0.4678, allocations: 162.4 kB / 0.6811 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.468, allocations: 333.9 kB / 0.6814 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006132/0.4686, allocations: 292.7 kB / 0.6817 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007806/0.4694, allocations: 0.4935 MB / 0.6821 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.4707, allocations: 0.7088 MB / 0.6828 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4707, allocations: 0 / 0.6828 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004414/0.4751, allocations: 1.277 MB / 0.6841 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.4752, allocations: 10.03 kB / 0.6841 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.4752, allocations: 4 kB / 0.6841 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000553/0.4757, allocations: 134.2 kB / 0.6842 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/0.4764, allocations: 163.8 kB / 0.6844 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007997/0.4772, allocations: 0.7006 MB / 0.6851 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009951/0.4782, allocations: 119 kB / 0.6852 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.98e-05/0.4783, allocations: 32 kB / 0.6852 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009769/0.4792, allocations: 0.5527 MB / 0.6857 GB, free: 252 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007518/0.48, allocations: 492.7 kB / 0.6862 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001242/0.4813, allocations: 0.709 MB / 0.6869 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.4813, allocations: 0 / 0.6869 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004134/0.4854, allocations: 1.269 MB / 0.6881 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4854, allocations: 8 kB / 0.6882 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4854, allocations: 4 kB / 0.6882 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004535/0.4859, allocations: 139.2 kB / 0.6883 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005553/0.4865, allocations: 159.7 kB / 0.6884 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007137/0.4872, allocations: 0.7006 MB / 0.6891 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009821/0.4882, allocations: 99.52 kB / 0.6892 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.19e-05/0.4883, allocations: 35.98 kB / 0.6893 GB, free: 12.48 MB / 0.5294 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.0002216/0.4885, allocations: 221 kB / 0.6895 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.4887, allocations: 134.3 kB / 0.6896 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004122/0.4928, allocations: 1.278 MB / 0.6908 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.4929, allocations: 8 kB / 0.6908 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4929, allocations: 0 / 0.6908 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003591/0.4965, allocations: 1.103 MB / 0.6919 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006178/0.5027, allocations: 2.614 MB / 0.6945 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5027, allocations: 8.031 kB / 0.6945 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.5032, allocations: 111.9 kB / 0.6946 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00045/0.5036, allocations: 124.8 kB / 0.6947 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.607e-05/0.5037, allocations: 19.98 kB / 0.6947 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004621/0.5083, allocations: 2.644 MB / 0.6973 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5083, allocations: 7.938 kB / 0.6973 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005022/0.5134, allocations: 1.695 MB / 0.699 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006669/0.514, allocations: 315.1 kB / 0.6993 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.5142, allocations: 12 kB / 0.6993 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007286/0.515, allocations: 56 kB / 0.6993 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.5151, allocations: 60.23 kB / 0.6994 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.726e-05/0.5152, allocations: 31.98 kB / 0.6994 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001207/0.5164, allocations: 0.8818 MB / 0.7003 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5164, allocations: 0 / 0.7003 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001688/0.5181, allocations: 0.7213 MB / 0.701 GB, free: 44 kB / 0.5294 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.0008346/0.5189, allocations: 464.7 kB / 0.7014 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0024/0.5213, allocations: 1.117 MB / 0.7025 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5214, allocations: 0 / 0.7025 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.5227, allocations: 0.5565 MB / 0.7031 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/0.5258, allocations: 0.8079 MB / 0.7039 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.5293, allocations: 2.27 MB / 0.7061 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007815/0.5301, allocations: 1.186 MB / 0.7072 GB, free: 9.578 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001002/0.5311, allocations: 310.9 kB / 0.7075 GB, free: 9.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.5314, allocations: 107.3 kB / 0.7076 GB, free: 9.164 MB / 0.545 GB Notification: Performance of SimCode: time 7.82e-07/0.5314, allocations: 0 / 0.7076 GB, free: 9.164 MB / 0.545 GB Notification: Performance of Templates: time 0.04937/0.5808, allocations: 32.21 MB / 0.7391 GB, free: 9.277 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)