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.001438/0.001438, allocations: 115.8 kB / 16.37 MB, free: 6 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.001544/0.001544, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 271.5 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9463/0.9463, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001715, allocations: 99.39 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1629, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4122/0.5752, allocations: 132.2 MB / 0.8107 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03287/0.6081, allocations: 23.21 MB / 0.8334 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00443/0.6126, allocations: 123.3 kB / 0.8335 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003734/0.6164, allocations: 1.494 MB / 0.835 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.6268, allocations: 4.104 MB / 0.839 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005048/0.6318, allocations: 2.169 MB / 0.8411 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009607/0.6415, allocations: 6.551 MB / 0.8475 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003419/0.6449, allocations: 2.355 MB / 0.8498 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006709/0.6516, allocations: 2.773 MB / 0.8525 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003876/0.6555, allocations: 1.887 MB / 0.8543 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000497/0.6561, allocations: 248 kB / 0.8546 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005002/0.6611, allocations: 1.93 MB / 0.8565 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007177/0.6618, allocations: 0.607 MB / 0.8571 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00209/0.6639, allocations: 1.458 MB / 0.8585 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006619/0.6705, allocations: 4.377 MB / 0.8627 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.6706, allocations: 4 kB / 0.8628 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6706, allocations: 0 / 0.8628 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.369e-05/0.6706, allocations: 8 kB / 0.8628 GB, free: 5.047 MB / 0.6231 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.005616/0.6762, allocations: 3.188 MB / 0.8659 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.6763, allocations: 8.031 kB / 0.8659 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004187/0.6805, allocations: 0.8366 MB / 0.8667 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004469/0.685, allocations: 2.315 MB / 0.869 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.6851, allocations: 127 kB / 0.8691 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.6853, allocations: 160 kB / 0.8692 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003677/0.689, allocations: 1.926 MB / 0.8711 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.689, allocations: 4 kB / 0.8711 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.6892, allocations: 60 kB / 0.8712 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/0.6892, allocations: 40 kB / 0.8712 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004314/0.6935, allocations: 1.796 MB / 0.873 GB, free: 10.36 MB / 0.6387 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.01158/0.7051, allocations: 8.992 MB / 0.8817 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00406/0.7092, allocations: 1.2 MB / 0.8829 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.7103, allocations: 465.1 kB / 0.8834 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/0.7114, allocations: 1.719 MB / 0.885 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.7114, allocations: 54.23 kB / 0.8851 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 3.747e-06/0.7114, allocations: 4 kB / 0.8851 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.00822/0.7196, allocations: 2.325 MB / 0.8874 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.7197, allocations: 89.11 kB / 0.8875 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004113/0.7238, allocations: 2.528 MB / 0.8899 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001907/0.7241, allocations: 45.7 kB / 0.89 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000964/0.725, allocations: 1.034 MB / 0.891 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003481/0.7254, allocations: 276.1 kB / 0.8912 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000457/0.7259, allocations: 254.5 kB / 0.8915 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.726, allocations: 345.9 kB / 0.8918 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.7276, allocations: 0.5841 MB / 0.8924 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.7296, allocations: 0.9465 MB / 0.8933 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002751/0.7324, allocations: 1.248 MB / 0.8945 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.7324, allocations: 8 kB / 0.8945 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006531/0.739, allocations: 2.025 MB / 0.8965 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.739, allocations: 8 kB / 0.8965 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.739, allocations: 8 kB / 0.8965 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.7409, allocations: 497 kB / 0.897 GB, free: 352 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.7421, allocations: 279.6 kB / 0.8973 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.7443, allocations: 1.514 MB / 0.8987 GB, free: 14.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002839/0.7471, allocations: 366 kB / 0.8991 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.7473, allocations: 63.97 kB / 0.8992 GB, free: 14.08 MB / 0.67 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.0009386/0.7482, allocations: 458 kB / 0.8996 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004613/0.7487, allocations: 248.9 kB / 0.8998 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003483/0.7522, allocations: 1.509 MB / 0.9013 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.7522, allocations: 15.92 kB / 0.9013 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.7522, allocations: 4 kB / 0.9013 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.7522, allocations: 3.984 kB / 0.9013 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007267/0.7595, allocations: 3.624 MB / 0.9049 GB, free: 8.094 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.7595, allocations: 7.984 kB / 0.9049 GB, free: 8.086 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006067/0.7602, allocations: 132.1 kB / 0.905 GB, free: 7.957 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001534/0.7617, allocations: 481.1 kB / 0.9055 GB, free: 7.48 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.644e-05/0.7618, allocations: 27.97 kB / 0.9055 GB, free: 7.453 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002468/0.7643, allocations: 1.583 MB / 0.907 GB, free: 5.82 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.7643, allocations: 7.938 kB / 0.907 GB, free: 5.812 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005622/0.7699, allocations: 1.943 MB / 0.9089 GB, free: 3.809 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009602/0.7709, allocations: 485.6 kB / 0.9094 GB, free: 3.312 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002971/0.7712, allocations: 31.84 kB / 0.9094 GB, free: 3.281 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.7728, allocations: 135.8 kB / 0.9096 GB, free: 3.148 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/0.7729, allocations: 55.92 kB / 0.9096 GB, free: 3.094 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.813e-05/0.773, allocations: 35.97 kB / 0.9096 GB, free: 3.059 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002787/0.7758, allocations: 1.777 MB / 0.9114 GB, free: 1.277 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/0.7758, allocations: 4 kB / 0.9114 GB, free: 1.273 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001763/0.7776, allocations: 0.6867 MB / 0.9121 GB, free: 0.5859 MB / 0.67 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.001059/0.7786, allocations: 0.6199 MB / 0.9127 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003794/0.7824, allocations: 1.342 MB / 0.914 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7825, allocations: 7.875 kB / 0.914 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002223/0.7847, allocations: 0.6779 MB / 0.9146 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005036/0.7897, allocations: 1.337 MB / 0.9159 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005824/0.7956, allocations: 3.537 MB / 0.9194 GB, free: 9.02 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.7966, allocations: 1.489 MB / 0.9209 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001574/0.7982, allocations: 443.6 kB / 0.9213 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/0.7986, allocations: 175.4 kB / 0.9214 GB, free: 6.898 MB / 0.6856 GB Notification: Performance of SimCode: time 4.81e-07/0.7986, allocations: 0 / 0.9214 GB, free: 6.898 MB / 0.6856 GB Notification: Performance of Templates: time 0.3302/1.129, allocations: 48.42 MB / 0.9687 GB, free: 240.9 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)