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.001255/0.001255, allocations: 110.9 kB / 16.42 MB, free: 6.465 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.001139/0.001139, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.32/1.32, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 289.6 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9859/0.9859, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 99.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4751/0.4771, allocations: 86.97 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1235/0.6007, allocations: 132.2 MB / 0.8962 GB, free: 15.26 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03332/0.634, allocations: 23.22 MB / 0.9189 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004061/0.6381, allocations: 127.2 kB / 0.919 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004101/0.6423, allocations: 1.526 MB / 0.9205 GB, free: 6.316 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01097/0.6533, allocations: 4.326 MB / 0.9247 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005414/0.6587, allocations: 2.172 MB / 0.9268 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008715/0.6674, allocations: 6.566 MB / 0.9332 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004026/0.6715, allocations: 2.347 MB / 0.9355 GB, free: 6.828 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006218/0.6777, allocations: 2.823 MB / 0.9383 GB, free: 4 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003484/0.6812, allocations: 1.89 MB / 0.9401 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0007994/0.682, allocations: 248 kB / 0.9404 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005103/0.6871, allocations: 1.938 MB / 0.9422 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.6882, allocations: 0.5992 MB / 0.9428 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002723/0.691, allocations: 1.462 MB / 0.9443 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007583/0.6985, allocations: 4.384 MB / 0.9485 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.6986, allocations: 0 / 0.9485 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6986, allocations: 4 kB / 0.9485 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001273/0.6987, allocations: 0 / 0.9485 GB, free: 9.449 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.007475/0.7062, allocations: 3.199 MB / 0.9517 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.7062, allocations: 8.031 kB / 0.9517 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004812/0.7111, allocations: 0.8363 MB / 0.9525 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005015/0.7161, allocations: 2.307 MB / 0.9547 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.7162, allocations: 131 kB / 0.9549 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003101/0.7166, allocations: 156 kB / 0.955 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004467/0.721, allocations: 1.93 MB / 0.9569 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.7211, allocations: 0 / 0.9569 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.7213, allocations: 64 kB / 0.957 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.7213, allocations: 36 kB / 0.957 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4605/1.182, allocations: 1.798 MB / 0.9588 GB, free: 184 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.01382/1.196, allocations: 9.001 MB / 0.9675 GB, free: 178 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004091/1.2, allocations: 1.194 MB / 0.9687 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/1.201, allocations: 457.2 kB / 0.9691 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008296/1.202, allocations: 1.729 MB / 0.9708 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/1.202, allocations: 38.66 kB / 0.9709 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 3.376e-06/1.202, allocations: 1.312 kB / 0.9709 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008104/1.21, allocations: 2.345 MB / 0.9732 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/1.21, allocations: 85.05 kB / 0.9732 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003307/1.213, allocations: 2.52 MB / 0.9757 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/1.213, allocations: 49.97 kB / 0.9758 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006655/1.214, allocations: 1.043 MB / 0.9768 GB, free: 172.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/1.214, allocations: 270.9 kB / 0.977 GB, free: 172.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003851/1.215, allocations: 261.3 kB / 0.9773 GB, free: 172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.655e-05/1.215, allocations: 341.8 kB / 0.9776 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/1.216, allocations: 0.5715 MB / 0.9782 GB, free: 171.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/1.218, allocations: 0.9525 MB / 0.9791 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/1.221, allocations: 1.246 MB / 0.9803 GB, free: 170 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/1.221, allocations: 7.906 kB / 0.9803 GB, free: 169.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005999/1.227, allocations: 2.018 MB / 0.9823 GB, free: 169 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/1.227, allocations: 11.89 kB / 0.9823 GB, free: 169 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/1.227, allocations: 7.812 kB / 0.9823 GB, free: 169 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/1.228, allocations: 494.1 kB / 0.9828 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/1.23, allocations: 282.1 kB / 0.983 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/1.232, allocations: 1.514 MB / 0.9845 GB, free: 167.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/1.234, allocations: 376.5 kB / 0.9849 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/1.235, allocations: 63.91 kB / 0.9849 GB, free: 166.8 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 (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.0009648/1.236, allocations: 458.1 kB / 0.9854 GB, free: 166.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000656/1.236, allocations: 250.6 kB / 0.9856 GB, free: 166.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003548/1.24, allocations: 1.511 MB / 0.9871 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/1.24, allocations: 3.984 kB / 0.9871 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/1.24, allocations: 0 / 0.9871 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/1.241, allocations: 485.5 kB / 0.9876 GB, free: 164.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005423/1.241, allocations: 16.88 kB / 0.9876 GB, free: 164.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/1.243, allocations: 135.8 kB / 0.9877 GB, free: 163.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.34e-05/1.243, allocations: 47.86 kB / 0.9878 GB, free: 163.9 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004376/1.248, allocations: 1.586 MB / 0.9893 GB, free: 162.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003808/1.252, allocations: 2.064 MB / 0.9913 GB, free: 160.2 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009998/1.253, allocations: 485 kB / 0.9918 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003072/1.256, allocations: 1.769 MB / 0.9935 GB, free: 158 MB / 0.7169 GB Notification: Performance of Backend: time 6.21e-07/1.256, allocations: 0 / 0.9935 GB, free: 158 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005646/1.261, allocations: 1.647 MB / 0.9951 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of SimCode: time 0.008721/1.27, allocations: 4.919 MB / 0.9999 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.06563/1.336, allocations: 50.69 MB / 1.049 GB, free: 101.6 MB / 0.7169 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)