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.001279/0.001279, allocations: 105.5 kB / 15.99 MB, free: 6.352 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.001073/0.001073, allocations: 190.5 kB / 16.91 MB, free: 6.195 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.365/1.365, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8089/0.8089, allocations: 126.1 MB / 416.8 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 67.91 kB / 0.4945 GB, free: 3.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4105, allocations: 78.71 MB / 0.5713 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y): time 0.06383/0.4743, allocations: 74.71 MB / 0.6443 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01856/0.4929, allocations: 12.73 MB / 0.6567 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003308/0.4963, allocations: 59.62 kB / 0.6568 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002715/0.4991, allocations: 0.7112 MB / 0.6575 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007652/0.5067, allocations: 2.309 MB / 0.6597 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00379/0.5105, allocations: 1.288 MB / 0.661 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005995/0.5166, allocations: 4.443 MB / 0.6653 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.5187, allocations: 1.439 MB / 0.6667 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003798/0.5225, allocations: 1.636 MB / 0.6683 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.5242, allocations: 1.252 MB / 0.6696 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002429/0.5244, allocations: 160 kB / 0.6697 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/0.5274, allocations: 1.419 MB / 0.6711 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004141/0.5278, allocations: 406.5 kB / 0.6715 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.5289, allocations: 0.9255 MB / 0.6724 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004003/0.5329, allocations: 2.879 MB / 0.6752 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.533, allocations: 0 / 0.6752 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.948e-06/0.533, allocations: 4 kB / 0.6752 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.644e-05/0.533, allocations: 0 / 0.6752 GB, free: 12.21 MB / 0.5137 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.003644/0.5367, allocations: 2.11 MB / 0.6773 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.5367, allocations: 8.031 kB / 0.6773 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008558/0.5376, allocations: 230.8 kB / 0.6775 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/0.54, allocations: 1.518 MB / 0.679 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/0.54, allocations: 74 kB / 0.679 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.5402, allocations: 108 kB / 0.6791 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.5422, allocations: 1.1 MB / 0.6802 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.5422, allocations: 4 kB / 0.6802 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.469e-05/0.5423, allocations: 40 kB / 0.6803 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.695e-05/0.5424, allocations: 24 kB / 0.6803 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.5443, allocations: 0.89 MB / 0.6812 GB, free: 5.965 MB / 0.5137 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.006675/0.551, allocations: 4.941 MB / 0.686 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.5524, allocations: 0.5963 MB / 0.6866 GB, free: 136 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006803/0.553, allocations: 346.3 kB / 0.6869 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005786/0.5536, allocations: 0.8238 MB / 0.6877 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.5537, allocations: 43.12 kB / 0.6877 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.915e-06/0.5537, allocations: 0 / 0.6877 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007734/0.5614, allocations: 1.717 MB / 0.6894 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.5615, allocations: 67.84 kB / 0.6895 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.5633, allocations: 1.239 MB / 0.6907 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.5634, allocations: 41.7 kB / 0.6907 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005423/0.5639, allocations: 0.6106 MB / 0.6913 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.5642, allocations: 208.9 kB / 0.6915 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/0.5644, allocations: 170.3 kB / 0.6917 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5646, allocations: 333.9 kB / 0.692 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/0.5652, allocations: 288.7 kB / 0.6923 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008559/0.5661, allocations: 0.489 MB / 0.6928 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.5675, allocations: 0.7012 MB / 0.6934 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.5675, allocations: 0 / 0.6934 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004872/0.5724, allocations: 1.273 MB / 0.6947 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.5724, allocations: 4 kB / 0.6947 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.5725, allocations: 4 kB / 0.6947 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006653/0.5731, allocations: 152.9 kB / 0.6948 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/0.5738, allocations: 155.8 kB / 0.695 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008687/0.5747, allocations: 0.7071 MB / 0.6957 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.576, allocations: 159.9 kB / 0.6958 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-05/0.5761, allocations: 28 kB / 0.6959 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001095/0.5772, allocations: 0.5574 MB / 0.6964 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008202/0.578, allocations: 496.7 kB / 0.6969 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001323/0.5793, allocations: 0.6895 MB / 0.6976 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.816e-06/0.5793, allocations: 0 / 0.6976 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004676/0.584, allocations: 1.265 MB / 0.6988 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5841, allocations: 8 kB / 0.6988 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.5841, allocations: 7.938 kB / 0.6988 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005468/0.5846, allocations: 149 kB / 0.6989 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/0.5853, allocations: 159.8 kB / 0.6991 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007881/0.5861, allocations: 0.6967 MB / 0.6998 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.5873, allocations: 139.5 kB / 0.6999 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.212e-05/0.5874, allocations: 31.98 kB / 0.6999 GB, free: 1.812 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.0002625/0.5877, allocations: 228 kB / 0.7002 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/0.588, allocations: 134.3 kB / 0.7003 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004729/0.5927, allocations: 1.262 MB / 0.7015 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.5927, allocations: 8 kB / 0.7015 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.5927, allocations: 0 / 0.7015 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004072/0.5968, allocations: 1.103 MB / 0.7026 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006744/0.6036, allocations: 2.587 MB / 0.7051 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.659e-06/0.6036, allocations: 4 kB / 0.7051 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004726/0.6041, allocations: 111.9 kB / 0.7052 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005075/0.6046, allocations: 136.8 kB / 0.7054 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.315e-05/0.6047, allocations: 19.98 kB / 0.7054 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004855/0.6095, allocations: 2.644 MB / 0.708 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.6096, allocations: 4 kB / 0.708 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005243/0.6148, allocations: 1.692 MB / 0.7096 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006941/0.6155, allocations: 315.1 kB / 0.7099 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/0.6159, allocations: 16 kB / 0.7099 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.617, allocations: 79.88 kB / 0.71 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.6171, allocations: 60.25 kB / 0.7101 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.597e-05/0.6172, allocations: 35.97 kB / 0.7101 GB, free: 6.992 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001529/0.6187, allocations: 0.8904 MB / 0.711 GB, free: 6.102 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6188, allocations: 0 / 0.711 GB, free: 6.102 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002349/0.6211, allocations: 0.7096 MB / 0.7117 GB, free: 5.391 MB / 0.545 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.001158/0.6223, allocations: 479 kB / 0.7121 GB, free: 4.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003036/0.6253, allocations: 1.145 MB / 0.7132 GB, free: 3.785 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.6253, allocations: 4 kB / 0.7133 GB, free: 3.781 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.6269, allocations: 0.5487 MB / 0.7138 GB, free: 3.223 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003877/0.6308, allocations: 0.8229 MB / 0.7146 GB, free: 2.457 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0046/0.6354, allocations: 2.791 MB / 0.7173 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009448/0.6364, allocations: 1.187 MB / 0.7185 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001276/0.6376, allocations: 308.6 kB / 0.7188 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.6379, allocations: 111.3 kB / 0.7189 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.6379, allocations: 0 / 0.7189 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.3194/0.9573, allocations: 32.69 MB / 0.7508 GB, free: 161.9 MB / 0.5762 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)