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.001345/0.001344, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001934/0.001934, allocations: 187.3 kB / 16.25 MB, free: 6.617 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.64/1.64, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.71/1.71, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.00139/0.00139, allocations: 65.08 kB / 0.671 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.311, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1277/0.4388, allocations: 131.1 MB / 0.9109 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7185/1.157, allocations: 22.86 MB / 0.9332 GB, free: 44.16 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006863/1.164, allocations: 114.2 kB / 0.9333 GB, free: 44.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005894/1.17, allocations: 1.281 MB / 0.9345 GB, free: 44.13 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01503/1.185, allocations: 3.774 MB / 0.9382 GB, free: 43.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007431/1.193, allocations: 2.019 MB / 0.9402 GB, free: 43.94 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01436/1.207, allocations: 6.544 MB / 0.9466 GB, free: 43.92 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006018/1.213, allocations: 2.337 MB / 0.9489 GB, free: 43.64 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01048/1.224, allocations: 2.785 MB / 0.9516 GB, free: 43.45 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006663/1.23, allocations: 1.942 MB / 0.9535 GB, free: 43.09 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001116/1.232, allocations: 248.7 kB / 0.9537 GB, free: 43.09 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008772/1.24, allocations: 1.963 MB / 0.9556 GB, free: 42.97 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001544/1.242, allocations: 0.6016 MB / 0.9562 GB, free: 42.85 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00486/1.247, allocations: 1.468 MB / 0.9577 GB, free: 42.42 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01153/1.258, allocations: 4.365 MB / 0.9619 GB, free: 41.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/1.258, allocations: 4 kB / 0.9619 GB, free: 41.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.387e-06/1.258, allocations: 0.9375 kB / 0.9619 GB, free: 41.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001691/1.259, allocations: 0 / 0.9619 GB, free: 41.82 MB / 0.7325 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.01072/1.269, allocations: 3.192 MB / 0.965 GB, free: 40.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/1.269, allocations: 8.562 kB / 0.9651 GB, free: 40.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005407/1.275, allocations: 0.8404 MB / 0.9659 GB, free: 40.08 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006309/1.281, allocations: 2.273 MB / 0.9681 GB, free: 39.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001006/1.282, allocations: 296.2 kB / 0.9684 GB, free: 39.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006293/1.283, allocations: 163.6 kB / 0.9685 GB, free: 39.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004637/1.288, allocations: 1.935 MB / 0.9704 GB, free: 38.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.64e-05/1.288, allocations: 3.938 kB / 0.9704 GB, free: 38.84 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/1.288, allocations: 63.22 kB / 0.9705 GB, free: 38.79 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/1.288, allocations: 35.66 kB / 0.9705 GB, free: 38.79 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004422/1.292, allocations: 1.834 MB / 0.9723 GB, free: 38.17 MB / 0.7325 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.01485/1.307, allocations: 9.033 MB / 0.9811 GB, free: 31.67 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00401/1.311, allocations: 1.205 MB / 0.9823 GB, free: 31.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/1.312, allocations: 456.7 kB / 0.9827 GB, free: 30.83 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009098/1.313, allocations: 1.729 MB / 0.9844 GB, free: 28.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/1.313, allocations: 40.97 kB / 0.9845 GB, free: 28.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.957e-06/1.313, allocations: 0 / 0.9845 GB, free: 28.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.00843/1.322, allocations: 2.344 MB / 0.9868 GB, free: 27.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/1.322, allocations: 88.02 kB / 0.9868 GB, free: 27.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004291/1.326, allocations: 2.515 MB / 0.9893 GB, free: 26.06 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002178/1.326, allocations: 49.36 kB / 0.9894 GB, free: 26.01 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006773/1.327, allocations: 1.05 MB / 0.9904 GB, free: 25.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/1.327, allocations: 273.5 kB / 0.9906 GB, free: 24.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004051/1.328, allocations: 265.6 kB / 0.9909 GB, free: 24.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.004e-05/1.328, allocations: 343.8 kB / 0.9912 GB, free: 24.37 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/1.329, allocations: 0.5848 MB / 0.9918 GB, free: 24.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/1.331, allocations: 0.9702 MB / 0.9927 GB, free: 23.35 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002603/1.334, allocations: 1.264 MB / 0.994 GB, free: 22.53 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/1.334, allocations: 0 / 0.994 GB, free: 22.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007235/1.341, allocations: 2.058 MB / 0.996 GB, free: 21.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/1.341, allocations: 9.969 kB / 0.996 GB, free: 21.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/1.341, allocations: 7 kB / 0.996 GB, free: 21.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001872/1.343, allocations: 491.5 kB / 0.9965 GB, free: 21.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/1.344, allocations: 295.2 kB / 0.9967 GB, free: 21.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/1.346, allocations: 1.512 MB / 0.9982 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004228/1.35, allocations: 440.1 kB / 0.9986 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/1.35, allocations: 59.28 kB / 0.9987 GB, free: 19.64 MB / 0.7325 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.001298/1.352, allocations: 458 kB / 0.9991 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006246/1.352, allocations: 250.1 kB / 0.9994 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/1.356, allocations: 1.508 MB / 1.001 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/1.356, allocations: 9.594 kB / 1.001 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.356, allocations: 0 / 1.001 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.356, allocations: 6.359 kB / 1.001 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00794/1.364, allocations: 3.609 MB / 1.004 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.364, allocations: 2.75 kB / 1.004 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005666/1.364, allocations: 126 kB / 1.005 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001591/1.366, allocations: 0.4898 MB / 1.005 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-05/1.366, allocations: 31.47 kB / 1.005 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/1.368, allocations: 1.578 MB / 1.007 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.368, allocations: 6.562 kB / 1.007 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005787/1.374, allocations: 1.934 MB / 1.008 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001636/1.376, allocations: 497.5 kB / 1.009 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003868/1.376, allocations: 19.94 kB / 1.009 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/1.378, allocations: 171.7 kB / 1.009 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/1.378, allocations: 59.88 kB / 1.009 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-05/1.378, allocations: 47.95 kB / 1.009 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002542/1.38, allocations: 1.766 MB / 1.011 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.381, allocations: 0 / 1.011 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002129/1.383, allocations: 0.6828 MB / 1.012 GB, free: 9.59 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.001135/1.384, allocations: 0.6031 MB / 1.012 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003991/1.388, allocations: 1.406 MB / 1.014 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.388, allocations: 0 / 1.014 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00203/1.39, allocations: 0.6714 MB / 1.014 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006094/1.396, allocations: 1.361 MB / 1.016 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005957/1.402, allocations: 4.312 MB / 1.02 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007969/1.403, allocations: 1.482 MB / 1.021 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002142/1.405, allocations: 439 kB / 1.022 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/1.405, allocations: 167.3 kB / 1.022 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of SimCode: time 1.353e-06/1.405, allocations: 0 / 1.022 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of Templates: time 0.09463/1.5, allocations: 50.95 MB / 1.072 GB, free: 13.07 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (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)