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.001142/0.001142, 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.00107/0.00107, allocations: 190.1 kB / 16.25 MB, free: 6.625 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.295/1.295, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 298.7 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9331/0.9331, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 89.7 kB / 0.5947 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.189, allocations: 86.99 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4422/0.6312, allocations: 131 MB / 0.8076 GB, free: 33.35 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02612/0.6574, allocations: 23.07 MB / 0.8301 GB, free: 25.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005657/0.6631, allocations: 115.3 kB / 0.8302 GB, free: 25.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003978/0.6671, allocations: 1.279 MB / 0.8315 GB, free: 25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0117/0.6789, allocations: 3.823 MB / 0.8352 GB, free: 22.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006058/0.6849, allocations: 1.979 MB / 0.8371 GB, free: 21.56 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009037/0.694, allocations: 6.595 MB / 0.8436 GB, free: 17.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00274/0.6968, allocations: 2.344 MB / 0.8459 GB, free: 16.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00538/0.7022, allocations: 2.762 MB / 0.8486 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002402/0.7046, allocations: 1.949 MB / 0.8505 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003508/0.7049, allocations: 248.1 kB / 0.8507 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003552/0.7085, allocations: 1.959 MB / 0.8526 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.7089, allocations: 0.6022 MB / 0.8532 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.7102, allocations: 1.467 MB / 0.8546 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004668/0.7149, allocations: 4.36 MB / 0.8589 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.7149, allocations: 0 / 0.8589 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.404e-06/0.7149, allocations: 0 / 0.8589 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.409e-05/0.7149, allocations: 0 / 0.8589 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.004789/0.7197, allocations: 3.182 MB / 0.862 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.7198, allocations: 12.16 kB / 0.862 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004048/0.7238, allocations: 0.8359 MB / 0.8628 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003472/0.7273, allocations: 2.272 MB / 0.865 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008238/0.7282, allocations: 295.7 kB / 0.8653 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.7284, allocations: 160 kB / 0.8655 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/0.7318, allocations: 1.938 MB / 0.8674 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/0.7319, allocations: 0 / 0.8674 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.732, allocations: 60 kB / 0.8674 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.732, allocations: 44 kB / 0.8675 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004375/0.7364, allocations: 1.838 MB / 0.8693 GB, free: 15.16 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.01288/0.7493, allocations: 9.019 MB / 0.8781 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004211/0.7535, allocations: 1.189 MB / 0.8792 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.7546, allocations: 465.9 kB / 0.8797 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.7558, allocations: 1.727 MB / 0.8814 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.7558, allocations: 42.31 kB / 0.8814 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.334e-06/0.7558, allocations: 0 / 0.8814 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.008254/0.7641, allocations: 2.335 MB / 0.8837 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.7642, allocations: 93.03 kB / 0.8838 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004218/0.7684, allocations: 2.52 MB / 0.8862 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.7685, allocations: 41.7 kB / 0.8863 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008864/0.7694, allocations: 1.049 MB / 0.8873 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.7697, allocations: 268.2 kB / 0.8875 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004474/0.7702, allocations: 258.6 kB / 0.8878 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.7703, allocations: 349.9 kB / 0.8881 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/0.772, allocations: 0.5842 MB / 0.8887 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/0.7741, allocations: 0.966 MB / 0.8896 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002923/0.777, allocations: 1.264 MB / 0.8909 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.7771, allocations: 15.88 kB / 0.8909 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00635/0.7834, allocations: 2.044 MB / 0.8929 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.7835, allocations: 8 kB / 0.8929 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.7835, allocations: 12.03 kB / 0.8929 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/0.7853, allocations: 0.4912 MB / 0.8934 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.7865, allocations: 287.5 kB / 0.8937 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.7886, allocations: 1.518 MB / 0.8951 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/0.7916, allocations: 426.7 kB / 0.8956 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.7918, allocations: 63.97 kB / 0.8956 GB, free: 2.719 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 (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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008769/0.7926, allocations: 457.5 kB / 0.896 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005861/0.7932, allocations: 252.9 kB / 0.8963 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003749/0.797, allocations: 1.503 MB / 0.8978 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.797, allocations: 12 kB / 0.8978 GB, free: 500 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.797, allocations: 0 / 0.8978 GB, free: 500 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.7971, allocations: 7.984 kB / 0.8978 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00794/0.805, allocations: 3.602 MB / 0.9013 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.805, allocations: 8.312 kB / 0.9013 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006145/0.8056, allocations: 131.8 kB / 0.9014 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/0.8073, allocations: 499.3 kB / 0.9019 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-05/0.8074, allocations: 27.91 kB / 0.9019 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002562/0.81, allocations: 1.581 MB / 0.9035 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.81, allocations: 7.938 kB / 0.9035 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006128/0.8161, allocations: 1.942 MB / 0.9054 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.8172, allocations: 489.6 kB / 0.9058 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005658/0.8178, allocations: 23.94 kB / 0.9059 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002002/0.8198, allocations: 171.7 kB / 0.906 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.732e-05/0.8199, allocations: 55.86 kB / 0.9061 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.464e-05/0.82, allocations: 43.91 kB / 0.9061 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00309/0.8231, allocations: 1.773 MB / 0.9079 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8231, allocations: 0 / 0.9079 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002005/0.8251, allocations: 0.6905 MB / 0.9085 GB, free: 5.207 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 (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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001184/0.8263, allocations: 0.6048 MB / 0.9091 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004163/0.8305, allocations: 1.385 MB / 0.9105 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.8305, allocations: 0 / 0.9105 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002339/0.8329, allocations: 0.6792 MB / 0.9111 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005857/0.8387, allocations: 1.331 MB / 0.9124 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00654/0.8453, allocations: 4.31 MB / 0.9166 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.8464, allocations: 1.486 MB / 0.9181 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001946/0.8484, allocations: 435.6 kB / 0.9185 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004402/0.8488, allocations: 167.4 kB / 0.9187 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of SimCode: time 9.02e-07/0.8488, allocations: 3.938 kB / 0.9187 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of Templates: time 0.07913/0.928, allocations: 50.52 MB / 0.968 GB, free: 8.977 MB / 0.67 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)