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.0008957/0.0008957, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.00102/0.00102, allocations: 177.3 kB / 15.94 MB, free: 228 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.444/1.444, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.681/1.681, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005705/0.0005707, allocations: 20.03 kB / 0.6735 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2497, allocations: 116.3 MB / 0.7871 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1029/0.3527, allocations: 110.7 MB / 0.8952 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.5427/0.8954, allocations: 19.74 MB / 0.9145 GB, free: 42.69 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004377/0.8999, allocations: 101.6 kB / 0.9146 GB, free: 42.69 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005778/0.9057, allocations: 1.366 MB / 0.9159 GB, free: 42.69 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01579/0.9215, allocations: 4.091 MB / 0.9199 GB, free: 42.64 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00896/0.9305, allocations: 2.604 MB / 0.9224 GB, free: 42.6 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01181/0.9423, allocations: 3.883 MB / 0.9262 GB, free: 42.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003637/0.946, allocations: 1.703 MB / 0.9279 GB, free: 42.37 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006208/0.9522, allocations: 2.025 MB / 0.9299 GB, free: 42.36 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002709/0.955, allocations: 1.249 MB / 0.9311 GB, free: 42.35 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003168/0.9553, allocations: 93.25 kB / 0.9312 GB, free: 42.35 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00471/0.96, allocations: 1.339 MB / 0.9325 GB, free: 42.35 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005043/0.9605, allocations: 409.2 kB / 0.9329 GB, free: 42.35 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.9616, allocations: 0.5541 MB / 0.9334 GB, free: 42.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004967/0.9666, allocations: 3.12 MB / 0.9365 GB, free: 42.1 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.9666, allocations: 4.5 kB / 0.9365 GB, free: 42.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9666, allocations: 0.625 kB / 0.9365 GB, free: 42.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000113/0.9667, allocations: 0 / 0.9365 GB, free: 42.09 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.005731/0.9724, allocations: 2.707 MB / 0.9391 GB, free: 40.64 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.9725, allocations: 8.312 kB / 0.9391 GB, free: 40.64 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004487/0.977, allocations: 0.9616 MB / 0.9401 GB, free: 40.45 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004221/0.9812, allocations: 2.066 MB / 0.9421 GB, free: 39.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009119/0.9822, allocations: 325.9 kB / 0.9424 GB, free: 39.96 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002767/0.9824, allocations: 162 kB / 0.9425 GB, free: 39.96 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004027/0.9865, allocations: 1.958 MB / 0.9445 GB, free: 39.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.9865, allocations: 4.031 kB / 0.9445 GB, free: 39.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/0.9867, allocations: 71.69 kB / 0.9445 GB, free: 39.72 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/0.9867, allocations: 37.28 kB / 0.9446 GB, free: 39.72 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004667/0.9914, allocations: 1.898 MB / 0.9464 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.01356/1.005, allocations: 9.203 MB / 0.9554 GB, free: 35.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004536/1.01, allocations: 1.335 MB / 0.9567 GB, free: 35.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009401/1.011, allocations: 1.719 MB / 0.9584 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/1.011, allocations: 42.69 kB / 0.9584 GB, free: 32.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 4.097e-06/1.011, allocations: 0 / 0.9584 GB, free: 32.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008643/1.019, allocations: 2.487 MB / 0.9609 GB, free: 32.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/1.019, allocations: 93 kB / 0.9609 GB, free: 31.97 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004642/1.024, allocations: 2.577 MB / 0.9635 GB, free: 31.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002675/1.024, allocations: 45.11 kB / 0.9635 GB, free: 31.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009278/1.025, allocations: 1.051 MB / 0.9645 GB, free: 30.95 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/1.026, allocations: 273.7 kB / 0.9648 GB, free: 30.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.096e-05/1.026, allocations: 26.66 kB / 0.9648 GB, free: 30.75 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.535e-05/1.026, allocations: 348.5 kB / 0.9651 GB, free: 30.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/1.027, allocations: 0.6213 MB / 0.9658 GB, free: 30.31 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/1.029, allocations: 1.002 MB / 0.9667 GB, free: 29.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/1.031, allocations: 0.6936 MB / 0.9674 GB, free: 29.64 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.031, allocations: 3.281 kB / 0.9674 GB, free: 29.64 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005062/1.036, allocations: 1.962 MB / 0.9693 GB, free: 29.14 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/1.036, allocations: 6.625 kB / 0.9693 GB, free: 29.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/1.036, allocations: 12.02 kB / 0.9693 GB, free: 29.14 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/1.038, allocations: 0.5045 MB / 0.9698 GB, free: 28.95 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.039, allocations: 309.3 kB / 0.9701 GB, free: 28.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/1.041, allocations: 1.551 MB / 0.9716 GB, free: 27.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003523/1.045, allocations: 0.4924 MB / 0.9721 GB, free: 27.51 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/1.045, allocations: 58.39 kB / 0.9722 GB, free: 27.5 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.001114/1.046, allocations: 455.9 kB / 0.9726 GB, free: 27.37 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004933/1.046, allocations: 248.1 kB / 0.9729 GB, free: 27.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003361/1.05, allocations: 1.561 MB / 0.9744 GB, free: 26.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/1.05, allocations: 14.02 kB / 0.9744 GB, free: 26.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.05, allocations: 4 kB / 0.9744 GB, free: 26.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/1.05, allocations: 3.984 kB / 0.9744 GB, free: 26.79 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007276/1.057, allocations: 3.73 MB / 0.978 GB, free: 25.33 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/1.057, allocations: 7.188 kB / 0.978 GB, free: 25.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005671/1.058, allocations: 133.5 kB / 0.9782 GB, free: 25.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/1.059, allocations: 0.4964 MB / 0.9787 GB, free: 25.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.84e-05/1.059, allocations: 29.91 kB / 0.9787 GB, free: 25.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00224/1.062, allocations: 1.648 MB / 0.9803 GB, free: 23.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/1.062, allocations: 6.625 kB / 0.9803 GB, free: 23.91 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005896/1.068, allocations: 2.343 MB / 0.9826 GB, free: 22.71 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/1.069, allocations: 0.5317 MB / 0.9831 GB, free: 22.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003443/1.069, allocations: 20.12 kB / 0.9831 GB, free: 22.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00176/1.071, allocations: 194.6 kB / 0.9833 GB, free: 22.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/1.071, allocations: 59.72 kB / 0.9834 GB, free: 22.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.041e-05/1.071, allocations: 43.91 kB / 0.9834 GB, free: 22.29 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002811/1.074, allocations: 1.812 MB / 0.9852 GB, free: 21.86 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.32e-07/1.074, allocations: 0 / 0.9852 GB, free: 21.86 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002331/1.077, allocations: 0.6945 MB / 0.9859 GB, free: 21.76 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.001112/1.078, allocations: 0.6114 MB / 0.9865 GB, free: 21.51 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003709/1.081, allocations: 1.428 MB / 0.9879 GB, free: 21.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.081, allocations: 0 / 0.9879 GB, free: 21.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002123/1.084, allocations: 0.7288 MB / 0.9886 GB, free: 21.08 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005616/1.089, allocations: 1.275 MB / 0.9898 GB, free: 20.25 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005578/1.095, allocations: 4.195 MB / 0.9939 GB, free: 16.36 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/1.096, allocations: 1.543 MB / 0.9954 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001901/1.098, allocations: 431.8 kB / 0.9958 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003483/1.098, allocations: 173.4 kB / 0.996 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of SimCode: time 9.02e-07/1.098, allocations: 0 / 0.996 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of Templates: time 0.07337/1.171, allocations: 48.3 MB / 1.043 GB, free: 14.89 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: