Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness") translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 108.1 kB / 17.08 MB, free: 5.02 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.001337/0.001337, allocations: 199 kB / 18.05 MB, free: 4.336 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.395/1.395, allocations: 225.6 MB / 244.5 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002759/0.002759, allocations: 290.1 kB / 297.6 MB, free: 11.29 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.218/1.218, allocations: 180.9 MB / 0.519 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002692/0.002692, allocations: 94.7 kB / 0.7167 GB, free: 39.81 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1867, allocations: 94.15 MB / 0.8086 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.1443/0.331, allocations: 81.56 MB / 0.8883 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05381/0.3848, allocations: 19 MB / 0.9068 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007194/0.392, allocations: 99.5 kB / 0.9069 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006429/0.3984, allocations: 1.219 MB / 0.9081 GB, free: 172 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01578/0.4142, allocations: 2.937 MB / 0.911 GB, free: 13.22 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01038/0.4246, allocations: 1.943 MB / 0.9129 GB, free: 11.29 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/HeatPumps/ModularReversible/Modular.mo:59:3-61:76:writable] Warning: Parameter heaPum.TConCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/HeatPumps/ModularReversible/Modular.mo:62:3-64:76:writable] Warning: Parameter heaPum.TEvaCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. Notification: Performance of NFFlatten.flatten: time 0.01573/0.4403, allocations: 5.522 MB / 0.9183 GB, free: 5.75 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007209/0.4475, allocations: 2.105 MB / 0.9203 GB, free: 3.594 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009127/0.4567, allocations: 2.18 MB / 0.9224 GB, free: 1.41 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00573/0.4624, allocations: 1.735 MB / 0.9241 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001501/0.4639, allocations: 300 kB / 0.9244 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008927/0.4728, allocations: 1.735 MB / 0.9261 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002254/0.4751, allocations: 0.7123 MB / 0.9268 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004701/0.4798, allocations: 1.439 MB / 0.9282 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01451/0.4943, allocations: 4.831 MB / 0.9329 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.4943, allocations: 0 / 0.9329 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4943, allocations: 0 / 0.9329 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001081/0.4944, allocations: 0 / 0.9329 GB, free: 6.629 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 453 * Number of variables: 453 Notification: Performance of Generate backend data structure: time 0.007056/0.5015, allocations: 3.129 MB / 0.936 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.5015, allocations: 12.03 kB / 0.936 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/0.5033, allocations: 437.9 kB / 0.9364 GB, free: 2.973 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004444/0.5077, allocations: 2.096 MB / 0.9385 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.5079, allocations: 155.5 kB / 0.9386 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003046/0.5082, allocations: 188 kB / 0.9388 GB, free: 0.4922 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003779/0.512, allocations: 1.905 MB / 0.9407 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.41e-05/0.512, allocations: 4 kB / 0.9407 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.5122, allocations: 72 kB / 0.9407 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.046e-05/0.5122, allocations: 44 kB / 0.9408 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003044/0.5153, allocations: 1.431 MB / 0.9422 GB, free: 12.97 MB / 0.7012 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.0123/0.5276, allocations: 8.046 MB / 0.95 GB, free: 4.512 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.5299, allocations: 1.003 MB / 0.951 GB, free: 3.469 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007465/0.5307, allocations: 341.2 kB / 0.9513 GB, free: 3.137 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/0.5318, allocations: 1.156 MB / 0.9525 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009715/0.5327, allocations: 442.8 kB / 0.9529 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=67): time 2.866e-06/0.5327, allocations: 336 / 0.9529 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of matching and sorting (n=67): time 0.002988/0.5357, allocations: 1.13 MB / 0.954 GB, free: 140 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.5358, allocations: 141.1 kB / 0.9541 GB, free: 15.97 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/HeatPumps/ModularReversible/Modular.mo:62:3-64:76:writable] Warning: Parameter heaPum.TEvaCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/HeatPumps/ModularReversible/Modular.mo:59:3-61:76:writable] Warning: Parameter heaPum.TConCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002968/0.5388, allocations: 1.787 MB / 0.9559 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.5389, allocations: 53.62 kB / 0.9559 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.5401, allocations: 1.098 MB / 0.957 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/0.5404, allocations: 261.9 kB / 0.9572 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003671/0.5408, allocations: 218.5 kB / 0.9574 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.541, allocations: 341.9 kB / 0.9578 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007952/0.5418, allocations: 369.7 kB / 0.9581 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.5429, allocations: 0.6946 MB / 0.9588 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.5447, allocations: 0.9973 MB / 0.9598 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/0.5448, allocations: 4 kB / 0.9598 GB, free: 9.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002779/0.5475, allocations: 1.254 MB / 0.961 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.5476, allocations: 8.531 kB / 0.961 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.5476, allocations: 12 kB / 0.961 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.323e-05/0.5476, allocations: 12 kB / 0.961 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/0.5484, allocations: 227.6 kB / 0.9613 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-05/0.5485, allocations: 15.94 kB / 0.9613 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.5498, allocations: 159.1 kB / 0.9614 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.035e-05/0.5499, allocations: 47.98 kB / 0.9615 GB, free: 8.109 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.tabMea.nextTimeEvent,$whenCondition1,heaPum.conHea.y,tabMea.nextTimeEventScaled,$PRE.tabMea.nextTimeEventScaled,tabMea.nextTimeEvent,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y,heaPum.hys.y,$PRE.heaPum.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001125/0.551, allocations: 0.4897 MB / 0.9619 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003709/0.5514, allocations: 202.7 kB / 0.9621 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.5537, allocations: 1.069 MB / 0.9632 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/0.5538, allocations: 15.98 kB / 0.9632 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.5538, allocations: 4 kB / 0.9632 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001669/0.5554, allocations: 0.8592 MB / 0.964 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005337/0.5608, allocations: 2.841 MB / 0.9668 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.5608, allocations: 4 kB / 0.9668 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006586/0.5614, allocations: 135.8 kB / 0.967 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.5615, allocations: 7.984 kB / 0.967 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-05/0.5615, allocations: 27.98 kB / 0.967 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/0.5615, allocations: 7.938 kB / 0.967 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5615, allocations: 0 / 0.967 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/0.5646, allocations: 1.532 MB / 0.9685 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008317/0.5654, allocations: 387.5 kB / 0.9689 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/0.5657, allocations: 35.92 kB / 0.9689 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008238/0.5665, allocations: 60 kB / 0.9689 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.5666, allocations: 60.47 kB / 0.969 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/0.5667, allocations: 39.92 kB / 0.969 GB, free: 172 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00193/0.5686, allocations: 1.202 MB / 0.9702 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5686, allocations: 0 / 0.9702 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002053/0.5707, allocations: 0.6543 MB / 0.9709 GB, free: 14.29 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum.refCycIneCon.criDam.x[1],heaPum.refCycIneCon.criDam.x[2],heaPum.refCycIneEva.criDam.x[1],heaPum.refCycIneEva.criDam.x[2]) * Number of discrete variables: 5 ($whenCondition1,heaPum.hys.y,heaPum.eff.hys.y,tabMea.nextTimeEvent,tabMea.nextTimeEventScaled) * Number of discrete states: 4 (tabMea.nextTimeEvent,tabMea.nextTimeEventScaled,heaPum.hys.y,heaPum.eff.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002581/0.5733, allocations: 0.8892 MB / 0.9717 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002069/0.5753, allocations: 0.8484 MB / 0.9726 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5753, allocations: 0 / 0.9726 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008578/0.5762, allocations: 403.2 kB / 0.9729 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004004/0.5802, allocations: 0.8645 MB / 0.9738 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007084/0.5873, allocations: 3.698 MB / 0.9774 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.5885, allocations: 1.497 MB / 0.9789 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005606/0.5891, allocations: 155.4 kB / 0.979 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of SimCode: time 1.503e-06/0.5891, allocations: 0 / 0.979 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of Templates: time 0.4985/1.088, allocations: 34.65 MB / 1.013 GB, free: 169.4 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1)