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.000876/0.000876, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.008056/0.008056, allocations: 172.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.802/1.802, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005412/0.0005411, allocations: 16.38 kB / 0.6743 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2833, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.7041/0.9875, allocations: 129.4 MB / 0.9142 GB, free: 32.56 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03617/1.024, allocations: 22.89 MB / 0.9366 GB, free: 32.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007208/1.031, allocations: 108.2 kB / 0.9367 GB, free: 32.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005548/1.037, allocations: 1.202 MB / 0.9379 GB, free: 32.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01584/1.052, allocations: 3.741 MB / 0.9415 GB, free: 32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00812/1.061, allocations: 2.001 MB / 0.9435 GB, free: 31.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01885/1.079, allocations: 8.244 MB / 0.9515 GB, free: 31 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006638/1.086, allocations: 1.901 MB / 0.9534 GB, free: 30.64 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/1.097, allocations: 2.305 MB / 0.9556 GB, free: 30.29 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00751/1.104, allocations: 1.79 MB / 0.9574 GB, free: 29.86 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001973/1.106, allocations: 91.53 kB / 0.9575 GB, free: 29.86 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01073/1.117, allocations: 1.711 MB / 0.9591 GB, free: 29.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001665/1.119, allocations: 448.4 kB / 0.9596 GB, free: 29.55 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005739/1.124, allocations: 1.302 MB / 0.9608 GB, free: 29.03 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01031/1.135, allocations: 4.156 MB / 0.9649 GB, free: 27.9 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/1.135, allocations: 0 / 0.9649 GB, free: 27.9 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.043e-06/1.135, allocations: 0 / 0.9649 GB, free: 27.9 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001739/1.135, allocations: 0 / 0.9649 GB, free: 27.9 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.008872/1.144, allocations: 2.691 MB / 0.9675 GB, free: 25.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/1.144, allocations: 8.656 kB / 0.9675 GB, free: 25.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005505/1.149, allocations: 0.9562 MB / 0.9685 GB, free: 25.53 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007148/1.157, allocations: 2.267 MB / 0.9707 GB, free: 23.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001076/1.158, allocations: 322.3 kB / 0.971 GB, free: 23.7 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006359/1.158, allocations: 156.5 kB / 0.9711 GB, free: 23.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005688/1.164, allocations: 1.987 MB / 0.9731 GB, free: 22.46 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.049e-05/1.164, allocations: 4 kB / 0.9731 GB, free: 22.46 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002102/1.164, allocations: 64.09 kB / 0.9731 GB, free: 22.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-05/1.164, allocations: 39.44 kB / 0.9732 GB, free: 22.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005194/1.17, allocations: 1.915 MB / 0.975 GB, free: 21.5 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.0158/1.185, allocations: 9.121 MB / 0.9839 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004692/1.19, allocations: 1.297 MB / 0.9852 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/1.191, allocations: 483.8 kB / 0.9857 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009345/1.192, allocations: 1.723 MB / 0.9874 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/1.192, allocations: 44.84 kB / 0.9874 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.916e-06/1.192, allocations: 0 / 0.9874 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.009489/1.202, allocations: 2.524 MB / 0.9899 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/1.202, allocations: 88.02 kB / 0.9899 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005729/1.208, allocations: 2.543 MB / 0.9924 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002708/1.208, allocations: 44.27 kB / 0.9925 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00101/1.209, allocations: 1.052 MB / 0.9935 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004189/1.209, allocations: 267.8 kB / 0.9938 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/1.21, allocations: 93 kB / 0.9938 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.21, allocations: 350.5 kB / 0.9942 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/1.212, allocations: 0.6271 MB / 0.9948 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/1.214, allocations: 1.02 MB / 0.9958 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002938/1.217, allocations: 1.326 MB / 0.9971 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/1.217, allocations: 7.5 kB / 0.9971 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006968/1.224, allocations: 2.189 MB / 0.9992 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/1.224, allocations: 13.62 kB / 0.9992 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/1.224, allocations: 9.969 kB / 0.9992 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001859/1.226, allocations: 0.495 MB / 0.9997 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/1.227, allocations: 304.2 kB / 1 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/1.229, allocations: 1.575 MB / 1.002 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/1.233, allocations: 485.2 kB / 1.002 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/1.233, allocations: 59.97 kB / 1.002 GB, free: 1.352 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.001109/1.234, allocations: 461.6 kB / 1.003 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005353/1.235, allocations: 252.9 kB / 1.003 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/1.238, allocations: 1.553 MB / 1.004 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.64e-05/1.239, allocations: 16 kB / 1.004 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.239, allocations: 0 / 1.004 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/1.239, allocations: 3.984 kB / 1.004 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/1.249, allocations: 3.705 MB / 1.008 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/1.249, allocations: 4 kB / 1.008 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006699/1.249, allocations: 136.2 kB / 1.008 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002263/1.252, allocations: 0.501 MB / 1.009 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/1.252, allocations: 23.98 kB / 1.009 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00306/1.255, allocations: 1.662 MB / 1.01 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.255, allocations: 4 kB / 1.01 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006986/1.262, allocations: 2.076 MB / 1.012 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/1.264, allocations: 0.517 MB / 1.013 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003472/1.264, allocations: 16 kB / 1.013 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0019/1.266, allocations: 203.7 kB / 1.013 GB, free: 6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/1.266, allocations: 63.8 kB / 1.013 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.903e-05/1.266, allocations: 43.97 kB / 1.013 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003296/1.27, allocations: 1.789 MB / 1.015 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/1.27, allocations: 0 / 1.015 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002529/1.272, allocations: 0.6828 MB / 1.015 GB, free: 3.418 MB / 0.7325 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.001275/1.273, allocations: 0.5958 MB / 1.016 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00451/1.278, allocations: 1.446 MB / 1.017 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.278, allocations: 0 / 1.017 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002496/1.28, allocations: 0.7378 MB / 1.018 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008841/1.289, allocations: 1.332 MB / 1.019 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008068/1.297, allocations: 4.367 MB / 1.024 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/1.299, allocations: 1.494 MB / 1.025 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002568/1.301, allocations: 435.7 kB / 1.026 GB, free: 9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005556/1.302, allocations: 175.4 kB / 1.026 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of SimCode: time 7.81e-07/1.302, allocations: 0 / 1.026 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of Templates: time 0.1009/1.403, allocations: 51.47 MB / 1.076 GB, free: 6.109 MB / 0.795 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: