Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness") translateModel(IBPSA.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001136/0.001136, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001666, allocations: 178.5 kB / 16.91 MB, free: 6.645 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.531/1.531, allocations: 223.2 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8654/0.8654, allocations: 126.2 MB / 418.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 12.81 kB / 0.4972 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4936/0.494, allocations: 80.07 MB / 0.5754 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.0831/0.5771, allocations: 79.86 MB / 0.6534 GB, free: 8.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02851/0.6057, allocations: 17.64 MB / 0.6706 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005421/0.6112, allocations: 87.5 kB / 0.6707 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004285/0.6155, allocations: 0.9441 MB / 0.6716 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.6263, allocations: 2.507 MB / 0.6741 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005168/0.6315, allocations: 1.599 MB / 0.6756 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009041/0.6405, allocations: 6.698 MB / 0.6822 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00417/0.6447, allocations: 2.021 MB / 0.6841 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00417/0.6489, allocations: 1.586 MB / 0.6857 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/0.6519, allocations: 1.391 MB / 0.687 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005819/0.6525, allocations: 68 kB / 0.6871 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004734/0.6572, allocations: 1.676 MB / 0.6887 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007971/0.658, allocations: 394 kB / 0.6891 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002078/0.6601, allocations: 1.113 MB / 0.6902 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00685/0.667, allocations: 4.396 MB / 0.6945 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.667, allocations: 4 kB / 0.6945 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.667, allocations: 0 / 0.6945 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001234/0.6672, allocations: 3.938 kB / 0.6945 GB, free: 14.03 MB / 0.5294 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.005725/0.6729, allocations: 2.425 MB / 0.6969 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.6729, allocations: 8.031 kB / 0.6969 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.6747, allocations: 432.6 kB / 0.6973 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004181/0.6789, allocations: 1.956 MB / 0.6992 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.6791, allocations: 147.3 kB / 0.6993 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003658/0.6795, allocations: 164 kB / 0.6995 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004261/0.6838, allocations: 1.834 MB / 0.7013 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.083e-05/0.6838, allocations: 8 kB / 0.7013 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/0.684, allocations: 75.98 kB / 0.7014 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.331e-05/0.6841, allocations: 44 kB / 0.7014 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003399/0.6875, allocations: 1.406 MB / 0.7028 GB, free: 5.352 MB / 0.5294 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.01085/0.6984, allocations: 7.616 MB / 0.7102 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.7003, allocations: 0.8967 MB / 0.7111 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009786/0.7013, allocations: 439.1 kB / 0.7115 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009116/0.7022, allocations: 1.156 MB / 0.7126 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.7023, allocations: 39.12 kB / 0.7127 GB, free: 10.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 3.337e-06/0.7023, allocations: 0 / 0.7127 GB, free: 10.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=62): time 0.008569/0.7109, allocations: 2.052 MB / 0.7147 GB, free: 8.449 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.101e-05/0.711, allocations: 119.3 kB / 0.7148 GB, free: 8.305 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003721/0.7147, allocations: 1.695 MB / 0.7165 GB, free: 6.566 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002144/0.715, allocations: 45.69 kB / 0.7165 GB, free: 6.516 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.716, allocations: 1.002 MB / 0.7175 GB, free: 5.504 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/0.7164, allocations: 216.9 kB / 0.7177 GB, free: 5.289 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.7165, allocations: 85.67 kB / 0.7178 GB, free: 5.199 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.7167, allocations: 341.9 kB / 0.7181 GB, free: 4.859 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009954/0.7177, allocations: 385.8 kB / 0.7185 GB, free: 4.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.7189, allocations: 0.7153 MB / 0.7192 GB, free: 3.629 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/0.721, allocations: 1.039 MB / 0.7202 GB, free: 2.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.721, allocations: 0 / 0.7202 GB, free: 2.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00594/0.7269, allocations: 1.71 MB / 0.7218 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002458/0.7272, allocations: 342.9 kB / 0.7222 GB, free: 312 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.7272, allocations: 8 kB / 0.7222 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008507/0.7281, allocations: 200.7 kB / 0.7224 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008131/0.7289, allocations: 219.6 kB / 0.7226 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005921/0.7348, allocations: 2.689 MB / 0.7252 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.7366, allocations: 223.1 kB / 0.7254 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.7367, allocations: 47.98 kB / 0.7255 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.7367, allocations: 4 kB / 0.7255 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006458/0.7432, allocations: 1.507 MB / 0.7269 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/0.7433, allocations: 8.531 kB / 0.7269 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.7444, allocations: 200.8 kB / 0.7271 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.7457, allocations: 227.6 kB / 0.7274 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008691/0.7544, allocations: 2.662 MB / 0.73 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/0.7574, allocations: 210.9 kB / 0.7302 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002636/0.7577, allocations: 48 kB / 0.7302 GB, free: 7.812 MB / 0.5606 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.001945/0.7596, allocations: 0.5398 MB / 0.7307 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006818/0.7603, allocations: 181.8 kB / 0.7309 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008503/0.7688, allocations: 1.594 MB / 0.7325 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/0.7689, allocations: 7.984 kB / 0.7325 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.7689, allocations: 7.938 kB / 0.7325 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007497/0.7764, allocations: 1.355 MB / 0.7338 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/0.7904, allocations: 3.361 MB / 0.7371 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/0.7904, allocations: 4 kB / 0.7371 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008774/0.7913, allocations: 140.2 kB / 0.7372 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.7924, allocations: 184.7 kB / 0.7374 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.7925, allocations: 19.98 kB / 0.7374 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008358/0.8009, allocations: 2.692 MB / 0.74 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.8009, allocations: 4 kB / 0.74 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00914/0.8101, allocations: 2.118 MB / 0.7421 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/0.8115, allocations: 402.4 kB / 0.7425 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005713/0.8121, allocations: 19.98 kB / 0.7425 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/0.8142, allocations: 116 kB / 0.7426 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002562/0.8145, allocations: 72.22 kB / 0.7427 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/0.8147, allocations: 31.98 kB / 0.7427 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003658/0.8183, allocations: 1.185 MB / 0.7439 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.6e-07/0.8183, allocations: 0 / 0.7439 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004238/0.8226, allocations: 0.9891 MB / 0.7449 GB, free: 8.387 MB / 0.5762 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.001278/0.8239, allocations: 0.5314 MB / 0.7454 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004467/0.8284, allocations: 1.765 MB / 0.7471 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.8284, allocations: 3.938 kB / 0.7471 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001426/0.8298, allocations: 0.6083 MB / 0.7477 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006377/0.8362, allocations: 0.8779 MB / 0.7485 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007633/0.8439, allocations: 4.152 MB / 0.7526 GB, free: 364 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.8451, allocations: 1.428 MB / 0.754 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001792/0.8469, allocations: 388.4 kB / 0.7544 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/0.8473, allocations: 135.4 kB / 0.7545 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of SimCode: time 1.152e-06/0.8473, allocations: 4 kB / 0.7545 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of Templates: time 0.07576/0.9231, allocations: 39.8 MB / 0.7934 GB, free: 7 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1)