Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001255/0.001255, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.482/1.482, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 68.33 kB / 0.9115 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3365, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05999/0.3965, allocations: 60.76 MB / 1.127 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01777/0.4143, allocations: 11.94 MB / 1.139 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002367/0.4167, allocations: 55.62 kB / 1.139 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.4187, allocations: 0.5867 MB / 1.139 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005588/0.4243, allocations: 1.832 MB / 1.141 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/0.4275, allocations: 1.094 MB / 1.142 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004149/0.4316, allocations: 3.121 MB / 1.145 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.4331, allocations: 1.104 MB / 1.146 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/0.436, allocations: 1.357 MB / 1.148 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.4373, allocations: 0.9295 MB / 1.149 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.4375, allocations: 120 kB / 1.149 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00263/0.4401, allocations: 1.462 MB / 1.15 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.4404, allocations: 290.9 kB / 1.15 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007497/0.4411, allocations: 0.6997 MB / 1.151 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003447/0.4446, allocations: 2.306 MB / 1.153 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.4446, allocations: 4 kB / 1.153 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4446, allocations: 0 / 1.153 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.352e-05/0.4447, allocations: 0 / 1.153 GB, free: 2.867 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003094/0.4478, allocations: 1.752 MB / 1.155 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.4478, allocations: 8.031 kB / 1.155 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/0.45, allocations: 418.8 kB / 1.155 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.4521, allocations: 1.129 MB / 1.156 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003454/0.4525, allocations: 117.9 kB / 1.157 GB, free: 15.34 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.4526, allocations: 80 kB / 1.157 GB, free: 15.26 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.4547, allocations: 0.9934 MB / 1.158 GB, free: 14.22 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4547, allocations: 7.938 kB / 1.158 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.127e-05/0.4548, allocations: 32 kB / 1.158 GB, free: 14.18 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.4548, allocations: 16 kB / 1.158 GB, free: 14.17 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.4572, allocations: 0.886 MB / 1.159 GB, free: 13.29 MB / 0.92 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.006734/0.4639, allocations: 4.855 MB / 1.163 GB, free: 8.074 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003419/0.4673, allocations: 0.8036 MB / 1.164 GB, free: 7.258 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007681/0.4681, allocations: 318.2 kB / 1.164 GB, free: 6.945 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007762/0.4689, allocations: 0.9103 MB / 1.165 GB, free: 5.832 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/0.469, allocations: 42.5 kB / 1.165 GB, free: 5.781 MB / 0.92 GB Notification: Performance of pre-optimization done (n=44): time 2.184e-06/0.469, allocations: 3.938 kB / 1.165 GB, free: 5.777 MB / 0.92 GB Notification: Performance of matching and sorting (n=44): time 0.00643/0.4754, allocations: 1.657 MB / 1.167 GB, free: 4.09 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.4755, allocations: 59.36 kB / 1.167 GB, free: 4.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.4772, allocations: 1.06 MB / 1.168 GB, free: 2.945 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.454e-05/0.4773, allocations: 33.7 kB / 1.168 GB, free: 2.906 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000442/0.4777, allocations: 0.5235 MB / 1.169 GB, free: 2.379 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.4779, allocations: 149.8 kB / 1.169 GB, free: 2.23 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.4781, allocations: 130 kB / 1.169 GB, free: 2.098 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4782, allocations: 326 kB / 1.169 GB, free: 1.773 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009522/0.4792, allocations: 322.9 kB / 1.169 GB, free: 1.457 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.4803, allocations: 0.5137 MB / 1.17 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.482, allocations: 0.7217 MB / 1.171 GB, free: 80 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.4821, allocations: 3.938 kB / 1.171 GB, free: 76 kB / 0.92 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002859/0.4849, allocations: 1.02 MB / 1.172 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.485, allocations: 4 kB / 1.172 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.485, allocations: 4 kB / 1.172 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.4863, allocations: 316.8 kB / 1.172 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/0.4869, allocations: 123.8 kB / 1.172 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.4884, allocations: 0.9133 MB / 1.173 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.49, allocations: 179.2 kB / 1.173 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.931e-05/0.4901, allocations: 31.98 kB / 1.173 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001403/0.4915, allocations: 0.5205 MB / 1.174 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001098/0.4926, allocations: 0.5057 MB / 1.174 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001662/0.4943, allocations: 0.6991 MB / 1.175 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.639e-06/0.4943, allocations: 4 kB / 1.175 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.002834/0.4971, allocations: 1.012 MB / 1.176 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4972, allocations: 4 kB / 1.176 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4972, allocations: 7.938 kB / 1.176 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.4983, allocations: 304.9 kB / 1.176 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000567/0.4989, allocations: 131.8 kB / 1.176 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.5003, allocations: 0.9056 MB / 1.177 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.5017, allocations: 163.5 kB / 1.177 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.237e-05/0.5018, allocations: 31.98 kB / 1.177 GB, free: 8.992 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000289/0.5021, allocations: 221.2 kB / 1.178 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.5023, allocations: 110.7 kB / 1.178 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/0.5057, allocations: 1.114 MB / 1.179 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.5057, allocations: 8 kB / 1.179 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5058, allocations: 0 / 1.179 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.5058, allocations: 3.984 kB / 1.179 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005354/0.5111, allocations: 2.206 MB / 1.181 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/0.5112, allocations: 4 kB / 1.181 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.5115, allocations: 67.88 kB / 1.181 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/0.5125, allocations: 302.3 kB / 1.181 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.5126, allocations: 15.98 kB / 1.181 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.514, allocations: 0.9386 MB / 1.182 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.514, allocations: 7.969 kB / 1.182 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003842/0.5179, allocations: 1.208 MB / 1.183 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006919/0.5186, allocations: 267.5 kB / 1.184 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002901/0.5189, allocations: 12 kB / 1.184 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.52, allocations: 103.8 kB / 1.184 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.5201, allocations: 39.89 kB / 1.184 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/0.5201, allocations: 23.98 kB / 1.184 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001179/0.5213, allocations: 0.7393 MB / 1.185 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.5213, allocations: 4 kB / 1.185 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001657/0.523, allocations: 0.5653 MB / 1.185 GB, free: 0.8438 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008345/0.5238, allocations: 376.3 kB / 1.185 GB, free: 492 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003525/0.5274, allocations: 1.167 MB / 1.187 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.5274, allocations: 0 / 1.187 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009784/0.5284, allocations: 368.5 kB / 1.187 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/0.5308, allocations: 0.5087 MB / 1.187 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005827/0.5367, allocations: 2.463 MB / 1.19 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/0.5373, allocations: 1.065 MB / 1.191 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00109/0.5384, allocations: 216.1 kB / 1.191 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.5387, allocations: 79.36 kB / 1.191 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of SimCode: time 8.41e-07/0.5387, allocations: 0 / 1.191 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of Templates: time 0.04741/0.5861, allocations: 24.7 MB / 1.215 GB, free: 2.145 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)