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.001627/0.001627, allocations: 103.7 kB / 16.94 MB, free: 6.191 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.001541/0.001541, allocations: 191.6 kB / 17.86 MB, free: 5.293 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.445/1.445, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8892/0.8892, allocations: 125.4 MB / 417.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.89 kB / 0.4948 GB, free: 4.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4457, allocations: 78.55 MB / 0.5715 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y): time 0.0737/0.5195, allocations: 75.49 MB / 0.6452 GB, free: 11.9 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02172/0.5413, allocations: 12.83 MB / 0.6578 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003328/0.5446, allocations: 63.62 kB / 0.6578 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003256/0.548, allocations: 0.8384 MB / 0.6586 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008842/0.5569, allocations: 2.464 MB / 0.6611 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004753/0.5616, allocations: 1.382 MB / 0.6624 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007586/0.5692, allocations: 4.413 MB / 0.6667 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003206/0.5725, allocations: 1.455 MB / 0.6681 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005242/0.5777, allocations: 1.807 MB / 0.6699 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002615/0.5803, allocations: 1.194 MB / 0.6711 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006308/0.581, allocations: 164 kB / 0.6712 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004194/0.5852, allocations: 1.392 MB / 0.6726 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008136/0.586, allocations: 410.5 kB / 0.673 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002177/0.5882, allocations: 0.9216 MB / 0.6739 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00621/0.5944, allocations: 2.867 MB / 0.6767 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5945, allocations: 0 / 0.6767 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5945, allocations: 0 / 0.6767 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.399e-05/0.5946, allocations: 7.938 kB / 0.6767 GB, free: 11.61 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.005939/0.6005, allocations: 2.114 MB / 0.6787 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.6006, allocations: 8.031 kB / 0.6788 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.6019, allocations: 230.8 kB / 0.679 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003537/0.6054, allocations: 1.474 MB / 0.6804 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.844e-05/0.6055, allocations: 78 kB / 0.6805 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002674/0.6058, allocations: 104 kB / 0.6806 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.6085, allocations: 1.104 MB / 0.6817 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.6085, allocations: 3.938 kB / 0.6817 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.6087, allocations: 44 kB / 0.6817 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-05/0.6087, allocations: 24 kB / 0.6817 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002323/0.611, allocations: 0.89 MB / 0.6826 GB, free: 5.383 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.008227/0.6193, allocations: 4.976 MB / 0.6875 GB, free: 120 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.6209, allocations: 0.6004 MB / 0.688 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000777/0.6217, allocations: 348.4 kB / 0.6884 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008367/0.6226, allocations: 0.8315 MB / 0.6892 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.6226, allocations: 39.12 kB / 0.6892 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.276e-06/0.6226, allocations: 0 / 0.6892 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.008201/0.6308, allocations: 1.713 MB / 0.6909 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.6309, allocations: 59.97 kB / 0.691 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002573/0.6335, allocations: 1.258 MB / 0.6922 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.6337, allocations: 41.7 kB / 0.6922 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007257/0.6344, allocations: 0.6105 MB / 0.6928 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.6347, allocations: 216.9 kB / 0.693 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000325/0.6351, allocations: 154.5 kB / 0.6932 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.6353, allocations: 341.9 kB / 0.6935 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007321/0.636, allocations: 284.7 kB / 0.6938 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009944/0.637, allocations: 0.489 MB / 0.6943 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.6388, allocations: 0.7051 MB / 0.6949 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.6388, allocations: 0 / 0.6949 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005347/0.6441, allocations: 1.265 MB / 0.6962 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.6442, allocations: 8.375 kB / 0.6962 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.6442, allocations: 8 kB / 0.6962 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006934/0.6449, allocations: 140.7 kB / 0.6963 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006693/0.6456, allocations: 159.8 kB / 0.6965 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.6467, allocations: 0.7108 MB / 0.6972 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.6479, allocations: 119.1 kB / 0.6973 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.672e-05/0.648, allocations: 31.98 kB / 0.6973 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001348/0.6493, allocations: 0.5527 MB / 0.6979 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009785/0.6503, allocations: 489.4 kB / 0.6983 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001636/0.652, allocations: 0.705 MB / 0.699 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.533e-06/0.652, allocations: 7.938 kB / 0.699 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005205/0.6572, allocations: 1.261 MB / 0.7003 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.6572, allocations: 4 kB / 0.7003 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.6573, allocations: 7.938 kB / 0.7003 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006032/0.6579, allocations: 153 kB / 0.7004 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.6586, allocations: 155.7 kB / 0.7006 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009665/0.6595, allocations: 0.7046 MB / 0.7012 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.6608, allocations: 103.4 kB / 0.7013 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.661, allocations: 40.05 kB / 0.7014 GB, free: 1.234 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.0003826/0.6614, allocations: 228 kB / 0.7016 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004955/0.6619, allocations: 138.3 kB / 0.7017 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005217/0.6671, allocations: 1.261 MB / 0.703 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.223e-05/0.6672, allocations: 7.984 kB / 0.703 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.6672, allocations: 0 / 0.703 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004586/0.6718, allocations: 1.099 MB / 0.704 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008444/0.6803, allocations: 2.587 MB / 0.7066 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.6804, allocations: 4 kB / 0.7066 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005725/0.6809, allocations: 120.2 kB / 0.7067 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006158/0.6816, allocations: 139.1 kB / 0.7068 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.628e-05/0.6817, allocations: 19.98 kB / 0.7068 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005801/0.6875, allocations: 2.629 MB / 0.7094 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.6875, allocations: 4 kB / 0.7094 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006301/0.6938, allocations: 1.695 MB / 0.7111 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009684/0.6948, allocations: 315.1 kB / 0.7114 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004126/0.6953, allocations: 12 kB / 0.7114 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.6964, allocations: 51.94 kB / 0.7114 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.6966, allocations: 60.36 kB / 0.7115 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.6967, allocations: 31.98 kB / 0.7115 GB, free: 6.449 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001924/0.6986, allocations: 0.9059 MB / 0.7124 GB, free: 5.543 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6986, allocations: 0 / 0.7124 GB, free: 5.543 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002757/0.7014, allocations: 0.7214 MB / 0.7131 GB, free: 4.82 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.001311/0.7027, allocations: 0.4895 MB / 0.7136 GB, free: 4.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003296/0.706, allocations: 1.145 MB / 0.7147 GB, free: 3.191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.706, allocations: 0 / 0.7147 GB, free: 3.191 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001681/0.7077, allocations: 0.5603 MB / 0.7152 GB, free: 2.617 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004609/0.7124, allocations: 0.8139 MB / 0.716 GB, free: 1.859 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005481/0.7179, allocations: 2.371 MB / 0.7184 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/0.7192, allocations: 1.168 MB / 0.7195 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004706/0.7197, allocations: 119.4 kB / 0.7196 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/0.7197, allocations: 0 / 0.7196 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.3345/1.054, allocations: 32.2 MB / 0.7511 GB, free: 161 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)