Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness") translateModel(Buildings.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009699/0.0009701, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008257/0.008258, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.795/1.795, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.982/2.982, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003841, allocations: 9.281 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3475, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.08606/0.4336, allocations: 79.92 MB / 1.152 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02913/0.4628, allocations: 17.64 MB / 1.169 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005803/0.4686, allocations: 87.44 kB / 1.169 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003959/0.4726, allocations: 0.9363 MB / 1.17 GB, free: 4.629 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008784/0.4814, allocations: 2.512 MB / 1.173 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005263/0.4867, allocations: 1.588 MB / 1.174 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01012/0.4968, allocations: 6.709 MB / 1.181 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00358/0.5005, allocations: 2.009 MB / 1.183 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00393/0.5044, allocations: 1.586 MB / 1.184 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/0.5071, allocations: 1.395 MB / 1.186 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005522/0.5076, allocations: 68 kB / 1.186 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004261/0.5119, allocations: 1.68 MB / 1.188 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007335/0.5127, allocations: 386 kB / 1.188 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001843/0.5145, allocations: 1.105 MB / 1.189 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005899/0.5204, allocations: 4.411 MB / 1.193 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5205, allocations: 0 / 1.193 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5205, allocations: 0 / 1.193 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.778e-05/0.5205, allocations: 4 kB / 1.193 GB, free: 13.08 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004657/0.5252, allocations: 2.417 MB / 1.196 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5253, allocations: 8.031 kB / 1.196 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.5269, allocations: 440.6 kB / 1.196 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003437/0.5303, allocations: 1.947 MB / 1.198 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.5305, allocations: 139.3 kB / 1.198 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002625/0.5308, allocations: 168 kB / 1.198 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003752/0.5345, allocations: 1.834 MB / 1.2 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.5346, allocations: 4 kB / 1.2 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.5347, allocations: 71.98 kB / 1.2 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.933e-05/0.5348, allocations: 47.94 kB / 1.2 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003185/0.538, allocations: 1.41 MB / 1.202 GB, free: 4.406 MB / 0.9512 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.01104/0.549, allocations: 7.623 MB / 1.209 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.551, allocations: 0.8814 MB / 1.21 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009162/0.552, allocations: 430.3 kB / 1.21 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/0.5532, allocations: 1.164 MB / 1.211 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.364e-05/0.5532, allocations: 39.12 kB / 1.211 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=62): time 5.25e-06/0.5533, allocations: 0 / 1.211 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=62): time 0.009027/0.5623, allocations: 2.06 MB / 1.213 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/0.5624, allocations: 111.4 kB / 1.214 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003123/0.5656, allocations: 1.695 MB / 1.215 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.5658, allocations: 45.7 kB / 1.215 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009435/0.5667, allocations: 1.002 MB / 1.216 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.567, allocations: 220.9 kB / 1.216 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.5671, allocations: 89.66 kB / 1.217 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5672, allocations: 337.9 kB / 1.217 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009329/0.5682, allocations: 389.7 kB / 1.217 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.5694, allocations: 0.7192 MB / 1.218 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.5714, allocations: 1.039 MB / 1.219 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.5714, allocations: 4 kB / 1.219 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.005878/0.5773, allocations: 1.694 MB / 1.221 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002667/0.5776, allocations: 350.9 kB / 1.221 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.5776, allocations: 8 kB / 1.221 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008708/0.5785, allocations: 204.6 kB / 1.221 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008368/0.5794, allocations: 219.7 kB / 1.221 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00604/0.5854, allocations: 2.678 MB / 1.224 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.5873, allocations: 226.7 kB / 1.224 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.5875, allocations: 47.98 kB / 1.224 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.5875, allocations: 5.406 kB / 1.224 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005521/0.593, allocations: 1.503 MB / 1.226 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.5931, allocations: 8.531 kB / 1.226 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008202/0.5939, allocations: 204.8 kB / 1.226 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008073/0.5947, allocations: 219.6 kB / 1.226 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005846/0.6006, allocations: 2.682 MB / 1.229 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.6024, allocations: 214.8 kB / 1.229 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.6026, allocations: 43.98 kB / 1.229 GB, free: 6.848 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 9 (chi.eff.swiCoo.u2,chi.eff.swiHea.u2,chi.eff.hea,chi.notCoo.y,chi.conCoo.y,chi.eff.hys.y,$PRE.chi.eff.hys.y,chi.hys.y,$PRE.chi.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001209/0.6038, allocations: 0.5332 MB / 1.23 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004905/0.6043, allocations: 181.8 kB / 1.23 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006143/0.6105, allocations: 1.598 MB / 1.231 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.704e-05/0.6106, allocations: 15.97 kB / 1.231 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.6106, allocations: 0 / 1.231 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005197/0.6158, allocations: 1.359 MB / 1.233 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.626, allocations: 3.365 MB / 1.236 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/0.626, allocations: 7.938 kB / 1.236 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006431/0.6267, allocations: 140.2 kB / 1.236 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009216/0.6276, allocations: 176.9 kB / 1.236 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/0.6278, allocations: 23.98 kB / 1.236 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006022/0.6338, allocations: 2.677 MB / 1.239 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.6339, allocations: 4 kB / 1.239 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006955/0.6408, allocations: 2.122 MB / 1.241 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/0.6425, allocations: 394.5 kB / 1.241 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008294/0.6433, allocations: 20 kB / 1.241 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/0.6455, allocations: 125.5 kB / 1.241 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/0.6458, allocations: 72.22 kB / 1.241 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/0.646, allocations: 35.98 kB / 1.242 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003729/0.6498, allocations: 1.177 MB / 1.243 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6498, allocations: 0 / 1.243 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004348/0.6541, allocations: 0.993 MB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 2 (chi.hys.y,chi.eff.hys.y) * Number of discrete states: 2 (chi.hys.y,chi.eff.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001746/0.6559, allocations: 0.5276 MB / 1.244 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004466/0.6604, allocations: 1.761 MB / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.6604, allocations: 0 / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.6618, allocations: 0.6083 MB / 1.246 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00548/0.6673, allocations: 0.9001 MB / 1.247 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5857/1.253, allocations: 4.129 MB / 1.251 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/1.254, allocations: 1.433 MB / 1.253 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001878/1.256, allocations: 379.4 kB / 1.253 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004015/1.257, allocations: 134.5 kB / 1.253 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.653e-06/1.257, allocations: 2.531 kB / 1.253 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.07452/1.331, allocations: 39.82 MB / 1.292 GB, free: 155.7 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1)