Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008843/0.0008842, allocations: 91.53 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.001523/0.001524, 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 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005032, allocations: 16.22 kB / 0.6737 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2404, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1238/0.3643, allocations: 122.2 MB / 0.9067 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4912/0.8555, allocations: 21.57 MB / 0.9277 GB, free: 45.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004126/0.8597, allocations: 106.1 kB / 0.9278 GB, free: 45.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003568/0.8633, allocations: 0.9995 MB / 0.9288 GB, free: 45.31 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01139/0.8747, allocations: 3.144 MB / 0.9319 GB, free: 45.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005336/0.88, allocations: 1.547 MB / 0.9334 GB, free: 45.13 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01039/0.8905, allocations: 7.16 MB / 0.9404 GB, free: 44.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004167/0.8947, allocations: 1.657 MB / 0.942 GB, free: 44.11 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007039/0.9017, allocations: 2.158 MB / 0.9441 GB, free: 43.53 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004412/0.9062, allocations: 1.687 MB / 0.9457 GB, free: 43.12 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006185/0.9068, allocations: 91.22 kB / 0.9458 GB, free: 43.12 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004755/0.9116, allocations: 1.215 MB / 0.947 GB, free: 42.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005785/0.9122, allocations: 425 kB / 0.9474 GB, free: 42.88 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.9137, allocations: 0.5539 MB / 0.948 GB, free: 42.76 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004467/0.9181, allocations: 3.153 MB / 0.951 GB, free: 42.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.9182, allocations: 0 / 0.951 GB, free: 42.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9182, allocations: 0 / 0.951 GB, free: 42.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.149e-05/0.9183, allocations: 2.078 kB / 0.951 GB, free: 42.5 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.005452/0.9237, allocations: 2.711 MB / 0.9537 GB, free: 41.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.9238, allocations: 8.969 kB / 0.9537 GB, free: 41.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004679/0.9285, allocations: 0.9553 MB / 0.9546 GB, free: 40.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005512/0.934, allocations: 2.183 MB / 0.9568 GB, free: 40.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009225/0.935, allocations: 325.2 kB / 0.9571 GB, free: 40.3 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004933/0.9355, allocations: 162.3 kB / 0.9572 GB, free: 40.3 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004393/0.9399, allocations: 1.977 MB / 0.9592 GB, free: 40.03 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.9399, allocations: 0 / 0.9592 GB, free: 40.03 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.9401, allocations: 74.14 kB / 0.9592 GB, free: 40.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.9401, allocations: 36.47 kB / 0.9593 GB, free: 40.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004192/0.9443, allocations: 1.897 MB / 0.9611 GB, free: 39.67 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.01264/0.957, allocations: 9.123 MB / 0.97 GB, free: 33.81 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003833/0.9609, allocations: 1.3 MB / 0.9713 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.9619, allocations: 478.2 kB / 0.9717 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009622/0.9629, allocations: 1.723 MB / 0.9734 GB, free: 31.38 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.9629, allocations: 45.95 kB / 0.9735 GB, free: 31.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 3.807e-06/0.963, allocations: 0 / 0.9735 GB, free: 31.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.007762/0.9707, allocations: 2.495 MB / 0.9759 GB, free: 30.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.9708, allocations: 94.69 kB / 0.976 GB, free: 30.32 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003626/0.9744, allocations: 2.516 MB / 0.9785 GB, free: 29.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001703/0.9746, allocations: 45.14 kB / 0.9785 GB, free: 29.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006884/0.9753, allocations: 1.051 MB / 0.9795 GB, free: 29.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/0.9756, allocations: 274.9 kB / 0.9798 GB, free: 29.11 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.9756, allocations: 23.94 kB / 0.9798 GB, free: 29.11 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.9e-05/0.9757, allocations: 340.2 kB / 0.9801 GB, free: 28.79 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.9772, allocations: 0.6243 MB / 0.9807 GB, free: 28.67 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.9789, allocations: 1.019 MB / 0.9817 GB, free: 28.08 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.9804, allocations: 0.6834 MB / 0.9824 GB, free: 27.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.9804, allocations: 5.453 kB / 0.9824 GB, free: 27.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004559/0.9849, allocations: 1.963 MB / 0.9843 GB, free: 26.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.985, allocations: 6.625 kB / 0.9843 GB, free: 26.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.985, allocations: 8.438 kB / 0.9843 GB, free: 26.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/0.9867, allocations: 0.5045 MB / 0.9848 GB, free: 26.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.9878, allocations: 305.8 kB / 0.9851 GB, free: 26.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.9896, allocations: 1.565 MB / 0.9867 GB, free: 25.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003183/0.9928, allocations: 486.7 kB / 0.9871 GB, free: 24.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002434/0.993, allocations: 65.64 kB / 0.9872 GB, free: 24.92 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 (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.001079/0.9941, allocations: 458 kB / 0.9876 GB, free: 24.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006046/0.9947, allocations: 247.1 kB / 0.9879 GB, free: 24.47 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/0.998, allocations: 1.549 MB / 0.9894 GB, free: 23.62 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.998, allocations: 14.05 kB / 0.9894 GB, free: 23.62 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.998, allocations: 4 kB / 0.9894 GB, free: 23.61 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.9981, allocations: 3.984 kB / 0.9894 GB, free: 23.61 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00726/1.005, allocations: 3.702 MB / 0.993 GB, free: 21.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/1.005, allocations: 6.562 kB / 0.993 GB, free: 21.14 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005717/1.006, allocations: 140.7 kB / 0.9931 GB, free: 21.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001537/1.008, allocations: 0.4982 MB / 0.9936 GB, free: 20.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.298e-05/1.008, allocations: 39.02 kB / 0.9937 GB, free: 20.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/1.01, allocations: 1.633 MB / 0.9953 GB, free: 19.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.01, allocations: 4 kB / 0.9953 GB, free: 19.38 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005053/1.015, allocations: 2.08 MB / 0.9973 GB, free: 17.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/1.016, allocations: 0.5092 MB / 0.9978 GB, free: 16.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003554/1.017, allocations: 19.98 kB / 0.9978 GB, free: 16.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/1.018, allocations: 199.7 kB / 0.998 GB, free: 16.51 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/1.018, allocations: 55.83 kB / 0.9981 GB, free: 16.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.13e-05/1.018, allocations: 43.95 kB / 0.9981 GB, free: 16.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002402/1.021, allocations: 1.769 MB / 0.9998 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.21e-07/1.021, allocations: 0 / 0.9998 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001851/1.023, allocations: 0.6788 MB / 1 GB, free: 13.96 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 (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.0009335/1.024, allocations: 0.5786 MB / 1.001 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003429/1.027, allocations: 1.436 MB / 1.002 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.027, allocations: 0 / 1.002 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001873/1.029, allocations: 0.7287 MB / 1.003 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005548/1.034, allocations: 1.288 MB / 1.004 GB, free: 10 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005313/1.04, allocations: 4.203 MB / 1.009 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/1.04, allocations: 1.49 MB / 1.01 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00191/1.042, allocations: 439.8 kB / 1.01 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/1.043, allocations: 163.4 kB / 1.011 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/1.043, allocations: 4 kB / 1.011 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of Templates: time 0.07348/1.116, allocations: 47.34 MB / 1.057 GB, free: 5.086 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) Environment - environmentSimulation: