Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001517/0.001517, 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.001127/0.001127, allocations: 195.2 kB / 16.14 MB, free: 6.707 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 282.5 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9523/0.9523, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 94.61 kB / 0.5945 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1503, allocations: 86.99 MB / 0.6794 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4104/0.5607, allocations: 131.3 MB / 0.8077 GB, free: 33.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0267/0.5875, allocations: 23.32 MB / 0.8305 GB, free: 25.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004378/0.5919, allocations: 111.3 kB / 0.8306 GB, free: 25.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003113/0.595, allocations: 1.216 MB / 0.8318 GB, free: 24.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008984/0.604, allocations: 3.778 MB / 0.8354 GB, free: 22.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00429/0.6083, allocations: 1.962 MB / 0.8374 GB, free: 21.44 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007863/0.6162, allocations: 8.292 MB / 0.8455 GB, free: 16.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/0.6185, allocations: 1.977 MB / 0.8474 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003946/0.6225, allocations: 2.358 MB / 0.8497 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.6245, allocations: 1.881 MB / 0.8515 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002344/0.6247, allocations: 120.6 kB / 0.8516 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003482/0.6282, allocations: 1.741 MB / 0.8533 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003319/0.6285, allocations: 487.7 kB / 0.8538 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.6297, allocations: 1.333 MB / 0.8551 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00401/0.6337, allocations: 4.233 MB / 0.8592 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6337, allocations: 0.625 kB / 0.8592 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6337, allocations: 4.969 kB / 0.8592 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.173e-05/0.6337, allocations: 0 / 0.8592 GB, free: 8.184 MB / 0.5606 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.004674/0.6384, allocations: 3.185 MB / 0.8624 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.6385, allocations: 9.281 kB / 0.8624 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004187/0.6427, allocations: 0.8372 MB / 0.8632 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003154/0.6458, allocations: 2.271 MB / 0.8654 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008509/0.6467, allocations: 290.8 kB / 0.8657 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.6469, allocations: 168 kB / 0.8658 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/0.6502, allocations: 1.934 MB / 0.8677 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.6503, allocations: 0 / 0.8677 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.6504, allocations: 68 kB / 0.8678 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.6504, allocations: 36 kB / 0.8678 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004485/0.6549, allocations: 1.838 MB / 0.8696 GB, free: 14.75 MB / 0.5762 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.01175/0.6667, allocations: 9.019 MB / 0.8784 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004271/0.671, allocations: 1.199 MB / 0.8796 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.6721, allocations: 466.8 kB / 0.88 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/0.6732, allocations: 1.726 MB / 0.8817 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.6732, allocations: 42.5 kB / 0.8818 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.625e-06/0.6733, allocations: 0 / 0.8818 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.00837/0.6816, allocations: 2.336 MB / 0.8841 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.6817, allocations: 88.86 kB / 0.8841 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003681/0.6854, allocations: 2.524 MB / 0.8866 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.954e-05/0.6855, allocations: 45.7 kB / 0.8866 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008535/0.6864, allocations: 1.045 MB / 0.8877 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/0.6866, allocations: 276.2 kB / 0.8879 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004086/0.687, allocations: 258.6 kB / 0.8882 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6872, allocations: 341.9 kB / 0.8885 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.6889, allocations: 0.5881 MB / 0.8891 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.6911, allocations: 0.9621 MB / 0.89 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003046/0.6941, allocations: 1.271 MB / 0.8913 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.6941, allocations: 3.938 kB / 0.8913 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006524/0.7007, allocations: 2.044 MB / 0.8933 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.7007, allocations: 11.98 kB / 0.8933 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.7007, allocations: 8 kB / 0.8933 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/0.7026, allocations: 495.3 kB / 0.8938 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.7038, allocations: 287.6 kB / 0.894 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.706, allocations: 1.526 MB / 0.8955 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003499/0.7095, allocations: 430.9 kB / 0.8959 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.7097, allocations: 59.97 kB / 0.896 GB, free: 2.297 MB / 0.5919 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.00112/0.7109, allocations: 453.5 kB / 0.8964 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006364/0.7115, allocations: 252.9 kB / 0.8967 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003849/0.7154, allocations: 1.506 MB / 0.8981 GB, free: 76 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.7154, allocations: 8 kB / 0.8981 GB, free: 68 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.7154, allocations: 3.984 kB / 0.8981 GB, free: 64 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.7154, allocations: 7.984 kB / 0.8981 GB, free: 56 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008231/0.7237, allocations: 3.606 MB / 0.9017 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/0.7237, allocations: 3.938 kB / 0.9017 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006275/0.7243, allocations: 136.1 kB / 0.9018 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/0.7261, allocations: 493 kB / 0.9023 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-05/0.7262, allocations: 23.98 kB / 0.9023 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/0.7287, allocations: 1.587 MB / 0.9038 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.7288, allocations: 7.984 kB / 0.9039 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006131/0.7349, allocations: 1.936 MB / 0.9057 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.7362, allocations: 489.5 kB / 0.9062 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005892/0.7368, allocations: 27.92 kB / 0.9062 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/0.7389, allocations: 171.7 kB / 0.9064 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.816e-05/0.739, allocations: 59.88 kB / 0.9065 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.7391, allocations: 47.89 kB / 0.9065 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003263/0.7423, allocations: 1.766 MB / 0.9082 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7424, allocations: 0 / 0.9082 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002382/0.7447, allocations: 0.6829 MB / 0.9089 GB, free: 4.793 MB / 0.6075 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.001384/0.7461, allocations: 0.6011 MB / 0.9095 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004282/0.7504, allocations: 1.349 MB / 0.9108 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.7505, allocations: 0 / 0.9108 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002322/0.7528, allocations: 0.6746 MB / 0.9115 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006632/0.7594, allocations: 1.254 MB / 0.9127 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007105/0.7665, allocations: 4.309 MB / 0.9169 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.7678, allocations: 1.494 MB / 0.9184 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002211/0.77, allocations: 436.4 kB / 0.9188 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/0.7705, allocations: 163.4 kB / 0.9189 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of SimCode: time 8.51e-07/0.7705, allocations: 0 / 0.9189 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of Templates: time 0.07373/0.8443, allocations: 48.7 MB / 0.9665 GB, free: 10.43 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)