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.001537/0.001537, allocations: 110.2 kB / 16.41 MB, free: 6.488 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.001652/0.001652, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002175/0.002176, allocations: 283.6 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 169.3 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 91.86 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4652/0.4673, allocations: 86.98 MB / 0.7671 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1218/0.5891, allocations: 132.2 MB / 0.8962 GB, free: 15.45 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03042/0.6196, allocations: 23.22 MB / 0.9188 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004668/0.6243, allocations: 131.2 kB / 0.919 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004091/0.6284, allocations: 1.486 MB / 0.9204 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01106/0.6395, allocations: 4.103 MB / 0.9244 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005169/0.6447, allocations: 2.171 MB / 0.9265 GB, free: 268 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008589/0.6533, allocations: 6.54 MB / 0.9329 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003749/0.6571, allocations: 2.367 MB / 0.9352 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006483/0.6636, allocations: 2.802 MB / 0.938 GB, free: 4.473 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003679/0.6673, allocations: 1.89 MB / 0.9398 GB, free: 2.574 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0008394/0.6681, allocations: 248 kB / 0.9401 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005018/0.6731, allocations: 1.942 MB / 0.942 GB, free: 396 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0009469/0.6741, allocations: 0.5914 MB / 0.9425 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002612/0.6767, allocations: 1.47 MB / 0.944 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007472/0.6842, allocations: 4.384 MB / 0.9483 GB, free: 9.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6842, allocations: 0 / 0.9483 GB, free: 9.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6842, allocations: 4 kB / 0.9483 GB, free: 9.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000116/0.6844, allocations: 0 / 0.9483 GB, free: 9.918 MB / 0.7169 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.006982/0.6913, allocations: 3.191 MB / 0.9514 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.6914, allocations: 12.03 kB / 0.9514 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004769/0.6962, allocations: 0.8402 MB / 0.9522 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005127/0.7013, allocations: 2.315 MB / 0.9545 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.7015, allocations: 127 kB / 0.9546 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003291/0.7018, allocations: 160 kB / 0.9547 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004602/0.7064, allocations: 1.923 MB / 0.9566 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.937e-05/0.7065, allocations: 3.938 kB / 0.9566 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/0.7067, allocations: 64 kB / 0.9567 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.7067, allocations: 36 kB / 0.9567 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3652/1.072, allocations: 1.799 MB / 0.9585 GB, free: 184.2 MB / 0.7169 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.01385/1.086, allocations: 8.991 MB / 0.9673 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004449/1.09, allocations: 1.207 MB / 0.9684 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/1.091, allocations: 457.9 kB / 0.9689 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008473/1.092, allocations: 1.725 MB / 0.9706 GB, free: 175.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/1.092, allocations: 38.69 kB / 0.9706 GB, free: 175.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 3.557e-06/1.092, allocations: 0 / 0.9706 GB, free: 175.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008986/1.101, allocations: 2.339 MB / 0.9729 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/1.101, allocations: 88.98 kB / 0.973 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003502/1.105, allocations: 2.527 MB / 0.9754 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001546/1.105, allocations: 41.55 kB / 0.9755 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006346/1.106, allocations: 1.048 MB / 0.9765 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/1.106, allocations: 267.1 kB / 0.9767 GB, free: 172.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000354/1.106, allocations: 257.3 kB / 0.977 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.971e-05/1.106, allocations: 347.3 kB / 0.9773 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/1.108, allocations: 0.5695 MB / 0.9779 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/1.11, allocations: 0.953 MB / 0.9788 GB, free: 171 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002645/1.112, allocations: 1.258 MB / 0.98 GB, free: 170.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.112, allocations: 0 / 0.98 GB, free: 170.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006088/1.119, allocations: 2.019 MB / 0.982 GB, free: 169.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/1.119, allocations: 7.688 kB / 0.982 GB, free: 169.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/1.119, allocations: 11.75 kB / 0.982 GB, free: 169.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/1.12, allocations: 491.4 kB / 0.9825 GB, free: 169 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/1.121, allocations: 277.3 kB / 0.9828 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/1.123, allocations: 1.523 MB / 0.9842 GB, free: 167.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/1.126, allocations: 365.1 kB / 0.9846 GB, free: 167.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/1.127, allocations: 62.52 kB / 0.9847 GB, free: 167.4 MB / 0.7169 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.001042/1.128, allocations: 467.2 kB / 0.9851 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005099/1.128, allocations: 244.9 kB / 0.9853 GB, free: 166.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/1.131, allocations: 1.507 MB / 0.9868 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/1.131, allocations: 8 kB / 0.9868 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/1.131, allocations: 3.984 kB / 0.9868 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/1.132, allocations: 3.984 kB / 0.9868 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006616/1.138, allocations: 3.62 MB / 0.9904 GB, free: 161.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/1.138, allocations: 0 / 0.9904 GB, free: 161.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/1.139, allocations: 132.2 kB / 0.9905 GB, free: 161.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001466/1.14, allocations: 494.2 kB / 0.991 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/1.14, allocations: 31.83 kB / 0.991 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/1.143, allocations: 1.588 MB / 0.9925 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.143, allocations: 4 kB / 0.9925 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00575/1.148, allocations: 1.947 MB / 0.9944 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009869/1.149, allocations: 493.6 kB / 0.9949 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003293/1.15, allocations: 19.98 kB / 0.9949 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/1.151, allocations: 135.8 kB / 0.9951 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/1.151, allocations: 59.8 kB / 0.9951 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.728e-05/1.151, allocations: 47.97 kB / 0.9952 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002354/1.154, allocations: 1.767 MB / 0.9969 GB, free: 154.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.51e-07/1.154, allocations: 0 / 0.9969 GB, free: 154.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001717/1.156, allocations: 0.6944 MB / 0.9976 GB, free: 154 MB / 0.7169 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.0009555/1.157, allocations: 0.6198 MB / 0.9982 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003713/1.16, allocations: 1.352 MB / 0.9995 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.16, allocations: 0 / 0.9995 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002169/1.162, allocations: 0.6689 MB / 1 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00581/1.168, allocations: 1.322 MB / 1.001 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/1.174, allocations: 3.585 MB / 1.005 GB, free: 146.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/1.174, allocations: 1.486 MB / 1.006 GB, free: 145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005762/1.175, allocations: 183.4 kB / 1.007 GB, free: 144.8 MB / 0.7169 GB Notification: Performance of SimCode: time 6.81e-07/1.175, allocations: 0 / 1.007 GB, free: 144.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.05614/1.231, allocations: 62.79 MB / 1.068 GB, free: 82.39 MB / 0.7169 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)