Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.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.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001399/0.001399, allocations: 193.8 kB / 16.25 MB, free: 6.637 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 294.8 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.982/0.982, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 94.94 kB / 0.5947 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1592, allocations: 86.98 MB / 0.6796 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4948/0.654, allocations: 131 MB / 0.8075 GB, free: 32.97 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03499/0.6891, allocations: 23.07 MB / 0.8301 GB, free: 25.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005783/0.6949, allocations: 114.8 kB / 0.8302 GB, free: 25.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003972/0.6989, allocations: 1.284 MB / 0.8314 GB, free: 24.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.7108, allocations: 3.812 MB / 0.8351 GB, free: 22.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005878/0.7167, allocations: 1.983 MB / 0.8371 GB, free: 21.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01018/0.7269, allocations: 6.577 MB / 0.8435 GB, free: 17.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003623/0.7305, allocations: 2.348 MB / 0.8458 GB, free: 16.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00799/0.7386, allocations: 2.756 MB / 0.8485 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002991/0.7416, allocations: 1.941 MB / 0.8504 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003802/0.742, allocations: 245.6 kB / 0.8506 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005104/0.7471, allocations: 1.954 MB / 0.8525 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004583/0.7475, allocations: 0.605 MB / 0.8531 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.7491, allocations: 1.456 MB / 0.8545 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006513/0.7556, allocations: 4.35 MB / 0.8588 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7556, allocations: 0 / 0.8588 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7556, allocations: 0 / 0.8588 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.017e-05/0.7557, allocations: 0 / 0.8588 GB, free: 8.039 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.005142/0.7608, allocations: 3.163 MB / 0.8619 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.7609, allocations: 11.19 kB / 0.8619 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004294/0.7652, allocations: 0.8467 MB / 0.8627 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004287/0.7695, allocations: 2.267 MB / 0.8649 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000848/0.7704, allocations: 289.2 kB / 0.8652 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002656/0.7706, allocations: 167.9 kB / 0.8654 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00359/0.7742, allocations: 1.934 MB / 0.8672 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.7743, allocations: 3.938 kB / 0.8673 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.7744, allocations: 64 kB / 0.8673 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.7745, allocations: 43.94 kB / 0.8674 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004298/0.7788, allocations: 1.811 MB / 0.8691 GB, free: 15.21 MB / 0.5762 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.01367/0.7925, allocations: 9.004 MB / 0.8779 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004255/0.7967, allocations: 1.194 MB / 0.8791 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.7978, allocations: 462 kB / 0.8795 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/0.7992, allocations: 1.727 MB / 0.8812 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.7993, allocations: 42.31 kB / 0.8812 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.465e-06/0.7993, allocations: 0 / 0.8812 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.008927/0.8082, allocations: 2.324 MB / 0.8835 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.8084, allocations: 85.11 kB / 0.8836 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004643/0.813, allocations: 2.493 MB / 0.886 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000236/0.8133, allocations: 41.7 kB / 0.8861 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009386/0.8142, allocations: 1.045 MB / 0.8871 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003438/0.8146, allocations: 272.2 kB / 0.8874 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004498/0.815, allocations: 254.5 kB / 0.8876 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.8152, allocations: 349.9 kB / 0.8879 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.817, allocations: 0.592 MB / 0.8885 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.8192, allocations: 0.9738 MB / 0.8895 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/0.8221, allocations: 1.256 MB / 0.8907 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.8222, allocations: 0 / 0.8907 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006636/0.8288, allocations: 2.044 MB / 0.8927 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.8289, allocations: 8 kB / 0.8927 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.8289, allocations: 8 kB / 0.8927 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/0.8305, allocations: 413.9 kB / 0.8931 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.8318, allocations: 295.5 kB / 0.8934 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.834, allocations: 1.507 MB / 0.8948 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003172/0.8371, allocations: 430 kB / 0.8953 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.8373, allocations: 63.95 kB / 0.8953 GB, free: 2.922 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001032/0.8383, allocations: 461.5 kB / 0.8958 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005483/0.8389, allocations: 252.9 kB / 0.896 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003672/0.8426, allocations: 1.497 MB / 0.8975 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.8426, allocations: 12 kB / 0.8975 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.8426, allocations: 3.984 kB / 0.8975 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.8426, allocations: 7.984 kB / 0.8975 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008072/0.8507, allocations: 3.59 MB / 0.901 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.8508, allocations: 0 / 0.901 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009/0.8517, allocations: 136.2 kB / 0.9011 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002262/0.8539, allocations: 413.2 kB / 0.9015 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.8541, allocations: 23.98 kB / 0.9015 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004155/0.8582, allocations: 1.575 MB / 0.9031 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.8583, allocations: 7.938 kB / 0.9031 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007629/0.8659, allocations: 1.93 MB / 0.905 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/0.8672, allocations: 497.5 kB / 0.9054 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000381/0.8676, allocations: 16 kB / 0.9055 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/0.8694, allocations: 171.7 kB / 0.9056 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.8695, allocations: 59.8 kB / 0.9057 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-05/0.8696, allocations: 43.97 kB / 0.9057 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003053/0.8726, allocations: 1.742 MB / 0.9074 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.2e-07/0.8727, allocations: 4.188 kB / 0.9074 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002087/0.8747, allocations: 0.675 MB / 0.9081 GB, free: 5.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 simulation (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00115/0.8759, allocations: 0.6044 MB / 0.9087 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004157/0.8801, allocations: 1.389 MB / 0.91 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.8801, allocations: 8.188 kB / 0.91 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00226/0.8824, allocations: 0.6728 MB / 0.9107 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005845/0.8882, allocations: 1.325 MB / 0.912 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006444/0.8947, allocations: 4.294 MB / 0.9162 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.8957, allocations: 1.486 MB / 0.9176 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002013/0.8977, allocations: 441.4 kB / 0.9181 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/0.8982, allocations: 163.4 kB / 0.9182 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.8982, allocations: 4 kB / 0.9182 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of Templates: time 0.0785/0.9767, allocations: 50.19 MB / 0.9672 GB, free: 9.652 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)