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.0007856/0.0007857, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0009141/0.0009141, allocations: 168.7 kB / 15.95 MB, free: 204 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.558/1.558, allocations: 205.4 MB / 222.1 MB, free: 5.379 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.593/1.593, allocations: 252 MB / 0.5102 GB, free: 4.887 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.0006484/0.0006487, allocations: 16 kB / 0.6243 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5862/0.5868, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1189/0.7058, allocations: 122.2 MB / 0.8475 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03377/0.7396, allocations: 21.52 MB / 0.8685 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005766/0.7454, allocations: 107.2 kB / 0.8686 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004673/0.7501, allocations: 0.9934 MB / 0.8696 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01329/0.7634, allocations: 3.139 MB / 0.8726 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00646/0.7699, allocations: 1.548 MB / 0.8741 GB, free: 5.516 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01284/0.7828, allocations: 7.174 MB / 0.8812 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003859/0.7867, allocations: 1.664 MB / 0.8828 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006077/0.7928, allocations: 2.119 MB / 0.8848 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004063/0.7969, allocations: 1.695 MB / 0.8865 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0006808/0.7976, allocations: 92 kB / 0.8866 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005192/0.8028, allocations: 1.197 MB / 0.8878 GB, free: 7.504 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0009728/0.8038, allocations: 417.8 kB / 0.8882 GB, free: 7.094 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.8055, allocations: 0.555 MB / 0.8887 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005044/0.8106, allocations: 3.113 MB / 0.8917 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.8106, allocations: 0 / 0.8917 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.156e-06/0.8106, allocations: 0 / 0.8917 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.496e-05/0.8107, allocations: 0 / 0.8917 GB, free: 3.41 MB / 0.7012 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.005299/0.816, allocations: 2.697 MB / 0.8944 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.8161, allocations: 8.562 kB / 0.8944 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004247/0.8203, allocations: 0.9566 MB / 0.8953 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004533/0.8249, allocations: 2.188 MB / 0.8975 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008973/0.8258, allocations: 318.9 kB / 0.8978 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000283/0.8261, allocations: 172 kB / 0.8979 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004268/0.8304, allocations: 1.962 MB / 0.8998 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.8304, allocations: 3.938 kB / 0.8998 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.8306, allocations: 64 kB / 0.8999 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.1e-05/0.8306, allocations: 36 kB / 0.8999 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004587/0.8352, allocations: 1.901 MB / 0.9018 GB, free: 8.887 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.5612/1.396, allocations: 9.1 MB / 0.9107 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005064/1.402, allocations: 1.291 MB / 0.9119 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/1.403, allocations: 479.8 kB / 0.9124 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/1.404, allocations: 1.727 MB / 0.9141 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/1.404, allocations: 42.88 kB / 0.9141 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.886e-06/1.404, allocations: 0 / 0.9141 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.009651/1.414, allocations: 2.51 MB / 0.9166 GB, free: 171 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/1.414, allocations: 92.73 kB / 0.9167 GB, free: 170.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005809/1.42, allocations: 2.514 MB / 0.9191 GB, free: 169.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002833/1.42, allocations: 48.23 kB / 0.9192 GB, free: 169.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/1.421, allocations: 1.053 MB / 0.9202 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/1.421, allocations: 272 kB / 0.9205 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-05/1.421, allocations: 19.94 kB / 0.9205 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.971e-05/1.422, allocations: 342.8 kB / 0.9208 GB, free: 168.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/1.424, allocations: 0.6167 MB / 0.9214 GB, free: 168.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002303/1.426, allocations: 1.002 MB / 0.9224 GB, free: 167.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/1.428, allocations: 0.6702 MB / 0.923 GB, free: 167.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/1.428, allocations: 6.656 kB / 0.923 GB, free: 167.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.005416/1.433, allocations: 1.944 MB / 0.9249 GB, free: 167 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/1.433, allocations: 8.781 kB / 0.9249 GB, free: 167 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/1.433, allocations: 14.59 kB / 0.925 GB, free: 167 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/1.435, allocations: 0.5009 MB / 0.9255 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/1.436, allocations: 299.1 kB / 0.9257 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/1.438, allocations: 1.552 MB / 0.9273 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/1.441, allocations: 494 kB / 0.9277 GB, free: 165.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/1.442, allocations: 58.05 kB / 0.9278 GB, free: 165.6 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 (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.001245/1.443, allocations: 458.8 kB / 0.9282 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005936/1.443, allocations: 243.9 kB / 0.9284 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/1.447, allocations: 1.55 MB / 0.93 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.591e-05/1.447, allocations: 27.17 kB / 0.93 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.447, allocations: 0 / 0.93 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/1.447, allocations: 7.781 kB / 0.93 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007318/1.454, allocations: 3.672 MB / 0.9336 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/1.454, allocations: 3.906 kB / 0.9336 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005707/1.455, allocations: 131.2 kB / 0.9337 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001621/1.456, allocations: 0.5 MB / 0.9342 GB, free: 162 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.106e-05/1.457, allocations: 30.47 kB / 0.9342 GB, free: 161.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/1.459, allocations: 1.647 MB / 0.9358 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.459, allocations: 3.75 kB / 0.9358 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005465/1.464, allocations: 2.071 MB / 0.9379 GB, free: 159.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/1.466, allocations: 0.514 MB / 0.9384 GB, free: 159 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003082/1.466, allocations: 23.64 kB / 0.9384 GB, free: 159 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/1.468, allocations: 185.1 kB / 0.9386 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/1.468, allocations: 63.73 kB / 0.9386 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.177e-05/1.468, allocations: 37.69 kB / 0.9387 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002704/1.471, allocations: 1.772 MB / 0.9404 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/1.471, allocations: 4 kB / 0.9404 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00185/1.473, allocations: 0.6618 MB / 0.941 GB, free: 156.6 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.0009969/1.474, allocations: 0.5594 MB / 0.9416 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003865/1.477, allocations: 1.405 MB / 0.943 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.477, allocations: 0 / 0.943 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00201/1.48, allocations: 0.7355 MB / 0.9437 GB, free: 154 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006042/1.486, allocations: 1.279 MB / 0.9449 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006962/1.493, allocations: 4.197 MB / 0.949 GB, free: 148.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009074/1.493, allocations: 1.49 MB / 0.9505 GB, free: 147 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002042/1.496, allocations: 434.4 kB / 0.9509 GB, free: 146.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/1.496, allocations: 163.4 kB / 0.951 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of SimCode: time 3.266e-06/1.496, allocations: 4 kB / 0.9511 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.07551/1.571, allocations: 46.87 MB / 0.9968 GB, free: 100.2 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: