Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001359/0.001359, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001442/0.001442, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.053/1.053, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 64.61 kB / 0.5047 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2058, allocations: 80.92 MB / 0.5837 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.5359/0.7417, allocations: 131.3 MB / 0.7119 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03954/0.7813, allocations: 23.29 MB / 0.7347 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00943/0.7907, allocations: 119 kB / 0.7348 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006468/0.7973, allocations: 1.205 MB / 0.736 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01943/0.8168, allocations: 3.772 MB / 0.7397 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008267/0.8251, allocations: 1.952 MB / 0.7416 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01431/0.8394, allocations: 8.288 MB / 0.7497 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004845/0.8443, allocations: 1.966 MB / 0.7516 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00769/0.852, allocations: 2.368 MB / 0.7539 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004745/0.8568, allocations: 1.878 MB / 0.7557 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009736/0.8578, allocations: 120 kB / 0.7558 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006897/0.8647, allocations: 1.742 MB / 0.7575 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.8661, allocations: 485.6 kB / 0.758 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00426/0.8704, allocations: 1.341 MB / 0.7593 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.8808, allocations: 4.238 MB / 0.7635 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8808, allocations: 0 / 0.7635 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.32e-07/0.8808, allocations: 0 / 0.7635 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001645/0.881, allocations: 0 / 0.7635 GB, free: 5.375 MB / 0.5762 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.008796/0.8898, allocations: 3.184 MB / 0.7666 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.8899, allocations: 8.031 kB / 0.7666 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004733/0.8946, allocations: 0.8477 MB / 0.7674 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004828/0.8995, allocations: 2.257 MB / 0.7696 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008896/0.9004, allocations: 290.9 kB / 0.7699 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/0.9006, allocations: 160 kB / 0.77 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004275/0.9049, allocations: 1.938 MB / 0.7719 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.905, allocations: 3.938 kB / 0.7719 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.9051, allocations: 60 kB / 0.772 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.734e-05/0.9052, allocations: 51.86 kB / 0.772 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004824/0.91, allocations: 1.831 MB / 0.7738 GB, free: 10.52 MB / 0.5919 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.01467/0.9247, allocations: 9.019 MB / 0.7826 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004292/0.929, allocations: 1.205 MB / 0.7838 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.9301, allocations: 461.4 kB / 0.7843 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00177/0.9319, allocations: 1.723 MB / 0.7859 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.795e-05/0.9319, allocations: 46.31 kB / 0.786 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 1.984e-06/0.932, allocations: 0 / 0.786 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.009002/0.941, allocations: 2.335 MB / 0.7883 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.941, allocations: 85.11 kB / 0.7883 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004942/0.946, allocations: 2.512 MB / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001755/0.9463, allocations: 53.7 kB / 0.7908 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.9474, allocations: 1.042 MB / 0.7919 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003538/0.9478, allocations: 276.1 kB / 0.7921 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004951/0.9483, allocations: 254.6 kB / 0.7924 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.9485, allocations: 349.9 kB / 0.7927 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.9502, allocations: 0.5881 MB / 0.7933 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002159/0.9524, allocations: 0.9621 MB / 0.7942 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003278/0.9557, allocations: 1.265 MB / 0.7955 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.9557, allocations: 7.922 kB / 0.7955 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00685/0.9626, allocations: 2.044 MB / 0.7975 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.9626, allocations: 10.66 kB / 0.7975 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.9626, allocations: 8 kB / 0.7975 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.9645, allocations: 0.4937 MB / 0.798 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.9658, allocations: 291.5 kB / 0.7982 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/0.9681, allocations: 1.517 MB / 0.7997 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/0.9713, allocations: 432.9 kB / 0.8001 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.9715, allocations: 63.97 kB / 0.8002 GB, free: 14.07 MB / 0.6231 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.001087/0.9726, allocations: 458.9 kB / 0.8006 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006422/0.9733, allocations: 252.8 kB / 0.8009 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003609/0.9769, allocations: 1.502 MB / 0.8023 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.9769, allocations: 8 kB / 0.8023 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.9769, allocations: 8 kB / 0.8023 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.977, allocations: 3.984 kB / 0.8024 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008524/0.9855, allocations: 3.61 MB / 0.8059 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/0.9855, allocations: 4 kB / 0.8059 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006015/0.9861, allocations: 123.8 kB / 0.806 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/0.9879, allocations: 0.4893 MB / 0.8065 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-05/0.988, allocations: 27.98 kB / 0.8065 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002767/0.9908, allocations: 1.581 MB / 0.808 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.9908, allocations: 7.938 kB / 0.8081 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006165/0.997, allocations: 1.931 MB / 0.8099 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/0.9986, allocations: 493.5 kB / 0.8104 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008986/0.9995, allocations: 23.98 kB / 0.8104 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003604/1.003, allocations: 163.8 kB / 0.8106 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/1.003, allocations: 63.8 kB / 0.8107 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/1.003, allocations: 43.97 kB / 0.8107 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00441/1.008, allocations: 1.777 MB / 0.8124 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/1.008, allocations: 0 / 0.8124 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003392/1.011, allocations: 0.6906 MB / 0.8131 GB, free: 0.5703 MB / 0.6231 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.001837/1.013, allocations: 0.5985 MB / 0.8137 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004872/1.018, allocations: 1.346 MB / 0.815 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.018, allocations: 4 kB / 0.815 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002493/1.021, allocations: 0.6782 MB / 0.8157 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007452/1.028, allocations: 1.249 MB / 0.8169 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007731/1.036, allocations: 4.314 MB / 0.8211 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/1.037, allocations: 1.49 MB / 0.8226 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002358/1.04, allocations: 432.5 kB / 0.823 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004788/1.04, allocations: 175.3 kB / 0.8231 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of SimCode: time 7.21e-07/1.04, allocations: 0 / 0.8231 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of Templates: time 0.3619/1.402, allocations: 48.63 MB / 0.8706 GB, free: 199.5 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)