Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0007881/0.0007881, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006062/0.006062, allocations: 169.5 kB / 16.27 MB, free: 6.648 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.688/1.688, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.542/1.542, allocations: 252 MB / 0.5105 GB, free: 4.578 MB / 414.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.0006006/0.0006005, allocations: 16 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5518/0.5524, allocations: 106.3 MB / 0.7287 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1188/0.6713, allocations: 129.4 MB / 0.8551 GB, free: 9.422 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03102/0.7023, allocations: 22.8 MB / 0.8773 GB, free: 2.562 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004182/0.7065, allocations: 103.3 kB / 0.8774 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003497/0.7101, allocations: 1.208 MB / 0.8786 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01122/0.7213, allocations: 3.747 MB / 0.8823 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007422/0.7288, allocations: 1.998 MB / 0.8842 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01222/0.741, allocations: 8.253 MB / 0.8923 GB, free: 3.234 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003878/0.7449, allocations: 1.897 MB / 0.8941 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006619/0.7516, allocations: 2.247 MB / 0.8963 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004079/0.7557, allocations: 1.8 MB / 0.8981 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005013/0.7562, allocations: 96 kB / 0.8982 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00427/0.7605, allocations: 1.614 MB / 0.8998 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005164/0.761, allocations: 445.7 kB / 0.9002 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.7627, allocations: 1.303 MB / 0.9015 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005867/0.7686, allocations: 4.1 MB / 0.9055 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.7686, allocations: 0 / 0.9055 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7686, allocations: 0 / 0.9055 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.417e-05/0.7687, allocations: 0 / 0.9055 GB, free: 5.641 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.005127/0.7738, allocations: 2.674 MB / 0.9081 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.7739, allocations: 12.03 kB / 0.9081 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004396/0.7783, allocations: 0.9612 MB / 0.909 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4595/1.238, allocations: 2.262 MB / 0.9112 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001122/1.239, allocations: 323.6 kB / 0.9115 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003654/1.239, allocations: 163.5 kB / 0.9117 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004681/1.244, allocations: 1.984 MB / 0.9136 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/1.244, allocations: 4.594 kB / 0.9136 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/1.244, allocations: 62.12 kB / 0.9137 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/1.244, allocations: 38.06 kB / 0.9137 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005329/1.25, allocations: 1.916 MB / 0.9156 GB, free: 174.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.01362/1.263, allocations: 9.092 MB / 0.9245 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00446/1.268, allocations: 1.294 MB / 0.9257 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/1.269, allocations: 494.5 kB / 0.9262 GB, free: 167.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000801/1.27, allocations: 1.722 MB / 0.9279 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/1.27, allocations: 47.89 kB / 0.9279 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.425e-06/1.27, allocations: 0 / 0.9279 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.009403/1.279, allocations: 2.523 MB / 0.9304 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/1.279, allocations: 89.88 kB / 0.9305 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003986/1.283, allocations: 2.539 MB / 0.933 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/1.283, allocations: 45.61 kB / 0.933 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006672/1.284, allocations: 1.048 MB / 0.934 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/1.284, allocations: 271.3 kB / 0.9343 GB, free: 162 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/1.284, allocations: 89.23 kB / 0.9344 GB, free: 161.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.787e-05/1.284, allocations: 345.7 kB / 0.9347 GB, free: 161.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/1.286, allocations: 0.6234 MB / 0.9353 GB, free: 161.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/1.288, allocations: 1.002 MB / 0.9363 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00261/1.29, allocations: 1.326 MB / 0.9376 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/1.29, allocations: 0 / 0.9376 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.008513/1.299, allocations: 2.552 MB / 0.9401 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.299, allocations: 8 kB / 0.9401 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.299, allocations: 11.94 kB / 0.9401 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/1.301, allocations: 0.5094 MB / 0.9406 GB, free: 157.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/1.302, allocations: 295.6 kB / 0.9409 GB, free: 157.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/1.303, allocations: 1.56 MB / 0.9424 GB, free: 155.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/1.306, allocations: 488.4 kB / 0.9429 GB, free: 155.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/1.306, allocations: 55.97 kB / 0.9429 GB, free: 155.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 (108): * Single equations (assignments): 106 * 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.000832/1.307, allocations: 466 kB / 0.9434 GB, free: 155 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003144/1.308, allocations: 244.9 kB / 0.9436 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/1.311, allocations: 1.563 MB / 0.9451 GB, free: 153.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/1.311, allocations: 16.75 kB / 0.9451 GB, free: 153.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.311, allocations: 0 / 0.9451 GB, free: 153.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.311, allocations: 3.984 kB / 0.9452 GB, free: 153.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006584/1.317, allocations: 3.699 MB / 0.9488 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/1.318, allocations: 4 kB / 0.9488 GB, free: 149.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/1.318, allocations: 132.1 kB / 0.9489 GB, free: 149.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/1.32, allocations: 0.5067 MB / 0.9494 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.534e-05/1.32, allocations: 23.92 kB / 0.9494 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/1.322, allocations: 1.655 MB / 0.951 GB, free: 147 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.322, allocations: 4 kB / 0.951 GB, free: 147 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005459/1.327, allocations: 2.077 MB / 0.9531 GB, free: 144.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.328, allocations: 0.5093 MB / 0.9536 GB, free: 144.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/1.329, allocations: 12 kB / 0.9536 GB, free: 144.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/1.33, allocations: 199.7 kB / 0.9538 GB, free: 144.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/1.33, allocations: 59.8 kB / 0.9538 GB, free: 144 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.005e-05/1.331, allocations: 47.97 kB / 0.9539 GB, free: 144 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002462/1.333, allocations: 1.785 MB / 0.9556 GB, free: 142.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.9e-07/1.333, allocations: 0 / 0.9556 GB, free: 142.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001741/1.335, allocations: 0.6618 MB / 0.9563 GB, free: 141.5 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.0009615/1.336, allocations: 0.5798 MB / 0.9568 GB, free: 141 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003736/1.34, allocations: 1.416 MB / 0.9582 GB, free: 139.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.34, allocations: 8.188 kB / 0.9582 GB, free: 139.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002138/1.342, allocations: 0.7291 MB / 0.9589 GB, free: 138.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007096/1.349, allocations: 1.341 MB / 0.9602 GB, free: 137.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005408/1.354, allocations: 4.363 MB / 0.9645 GB, free: 133.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006721/1.355, allocations: 1.486 MB / 0.9659 GB, free: 131.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001886/1.357, allocations: 439.8 kB / 0.9664 GB, free: 131.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004106/1.357, allocations: 179.4 kB / 0.9665 GB, free: 131 MB / 0.7169 GB Notification: Performance of SimCode: time 6.61e-07/1.357, allocations: 0 / 0.9665 GB, free: 131 MB / 0.7169 GB Notification: Performance of Templates: time 0.06394/1.421, allocations: 51.05 MB / 1.016 GB, free: 80.69 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) Environment - environmentSimulation: