Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001386/0.001386, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001742/0.001742, allocations: 263.1 kB / 291.3 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.945/0.945, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004347/0.0004347, allocations: 18.06 kB / 0.598 GB, free: 28.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1883, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4849/0.6732, allocations: 122.2 MB / 0.8038 GB, free: 28.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03479/0.7081, allocations: 21.79 MB / 0.8251 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007478/0.7156, allocations: 113.4 kB / 0.8252 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005294/0.721, allocations: 0.9937 MB / 0.8261 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01497/0.736, allocations: 3.172 MB / 0.8292 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00651/0.7425, allocations: 1.528 MB / 0.8307 GB, free: 8.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01166/0.7542, allocations: 7.206 MB / 0.8378 GB, free: 4.492 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006224/0.7604, allocations: 1.671 MB / 0.8394 GB, free: 3.449 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006968/0.7674, allocations: 2.151 MB / 0.8415 GB, free: 2.258 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004099/0.7716, allocations: 1.685 MB / 0.8431 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007731/0.7724, allocations: 92.44 kB / 0.8432 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005188/0.7776, allocations: 1.214 MB / 0.8444 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008813/0.7785, allocations: 417.1 kB / 0.8448 GB, free: 364 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.78, allocations: 0.5564 MB / 0.8454 GB, free: 40 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005953/0.786, allocations: 3.138 MB / 0.8484 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.786, allocations: 1.562 kB / 0.8484 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.786, allocations: 0 / 0.8484 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001355/0.7862, allocations: 0 / 0.8484 GB, free: 13.89 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.007202/0.7934, allocations: 2.707 MB / 0.8511 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.7934, allocations: 12.94 kB / 0.8511 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004101/0.7975, allocations: 0.958 MB / 0.852 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0047/0.8022, allocations: 2.186 MB / 0.8541 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008385/0.8031, allocations: 318.9 kB / 0.8545 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003215/0.8034, allocations: 164 kB / 0.8546 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004108/0.8075, allocations: 1.969 MB / 0.8565 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.8076, allocations: 4 kB / 0.8565 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/0.8077, allocations: 64 kB / 0.8566 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.025e-05/0.8078, allocations: 36 kB / 0.8566 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004407/0.8122, allocations: 1.905 MB / 0.8585 GB, free: 4.699 MB / 0.5606 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.01346/0.8257, allocations: 9.098 MB / 0.8674 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004101/0.8298, allocations: 1.295 MB / 0.8686 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.831, allocations: 482 kB / 0.8691 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/0.8325, allocations: 1.726 MB / 0.8708 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.8326, allocations: 46.25 kB / 0.8708 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 3.577e-06/0.8326, allocations: 0 / 0.8708 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.008139/0.8407, allocations: 2.5 MB / 0.8733 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.8408, allocations: 93.06 kB / 0.8734 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004583/0.8454, allocations: 2.512 MB / 0.8758 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.8456, allocations: 45.7 kB / 0.8759 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.8467, allocations: 1.05 MB / 0.8769 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/0.847, allocations: 272.2 kB / 0.8771 GB, free: 480 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.507e-05/0.8471, allocations: 23.94 kB / 0.8772 GB, free: 456 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.8472, allocations: 349.9 kB / 0.8775 GB, free: 100 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/0.8489, allocations: 0.6232 MB / 0.8781 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/0.8509, allocations: 1.009 MB / 0.8791 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.8527, allocations: 0.6816 MB / 0.8798 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.8527, allocations: 4 kB / 0.8798 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004921/0.8576, allocations: 1.966 MB / 0.8817 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.8576, allocations: 8 kB / 0.8817 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.8577, allocations: 8 kB / 0.8817 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001686/0.8594, allocations: 0.5056 MB / 0.8822 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.8606, allocations: 315.5 kB / 0.8825 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.8627, allocations: 1.555 MB / 0.884 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/0.8656, allocations: 483.2 kB / 0.8845 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.8658, allocations: 59.97 kB / 0.8845 GB, free: 8.68 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0009126/0.8667, allocations: 453.5 kB / 0.885 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003596/0.8671, allocations: 248.9 kB / 0.8852 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/0.8704, allocations: 1.558 MB / 0.8867 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.8705, allocations: 12 kB / 0.8867 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.8705, allocations: 4 kB / 0.8867 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.8705, allocations: 3.984 kB / 0.8867 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007147/0.8777, allocations: 3.694 MB / 0.8903 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.8777, allocations: 4 kB / 0.8903 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005707/0.8783, allocations: 131.8 kB / 0.8905 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00153/0.8798, allocations: 0.5071 MB / 0.891 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.942e-05/0.8799, allocations: 31.88 kB / 0.891 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/0.8823, allocations: 1.639 MB / 0.8926 GB, free: 220 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.8823, allocations: 7.938 kB / 0.8926 GB, free: 212 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005295/0.8876, allocations: 2.072 MB / 0.8946 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.8887, allocations: 0.5092 MB / 0.8951 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002915/0.889, allocations: 27.88 kB / 0.8952 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.8905, allocations: 199.7 kB / 0.8953 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.596e-05/0.8906, allocations: 67.61 kB / 0.8954 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.652e-05/0.8907, allocations: 39.97 kB / 0.8954 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002977/0.8937, allocations: 1.766 MB / 0.8972 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.8937, allocations: 4 kB / 0.8972 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00219/0.8959, allocations: 0.6749 MB / 0.8978 GB, free: 10.77 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/0.897, allocations: 0.5775 MB / 0.8984 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003819/0.9009, allocations: 1.428 MB / 0.8998 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.9009, allocations: 0 / 0.8998 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002153/0.903, allocations: 0.7255 MB / 0.9005 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005653/0.9087, allocations: 1.269 MB / 0.9017 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006857/0.9156, allocations: 4.213 MB / 0.9059 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.9166, allocations: 1.494 MB / 0.9073 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002017/0.9186, allocations: 429.8 kB / 0.9077 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/0.9191, allocations: 171.4 kB / 0.9079 GB, free: 404 kB / 0.6075 GB Notification: Performance of SimCode: time 7.22e-07/0.9191, allocations: 0 / 0.9079 GB, free: 404 kB / 0.6075 GB Notification: Performance of Templates: time 0.0776/0.9967, allocations: 46.97 MB / 0.9538 GB, free: 2.086 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)