Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y") translateModel(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001175, allocations: 109.2 kB / 15.99 MB, free: 6.359 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.001227/0.001227, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.697/2.697, allocations: 469.4 MB / 0.7423 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 61.22 kB / 0.9083 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3693, allocations: 159.1 MB / 1.064 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y): time 0.7627/1.132, allocations: 74.77 MB / 1.137 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02641/1.159, allocations: 12.69 MB / 1.149 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005837/1.164, allocations: 60.84 kB / 1.149 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.004613/1.169, allocations: 0.7206 MB / 1.15 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01284/1.182, allocations: 2.304 MB / 1.152 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007234/1.189, allocations: 1.285 MB / 1.153 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01358/1.203, allocations: 4.459 MB / 1.158 GB, free: 9.387 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004527/1.207, allocations: 1.432 MB / 1.159 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008305/1.216, allocations: 1.634 MB / 1.161 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004726/1.221, allocations: 1.25 MB / 1.162 GB, free: 7.293 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0008322/1.221, allocations: 163.2 kB / 1.162 GB, free: 7.293 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006976/1.228, allocations: 1.417 MB / 1.164 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0009296/1.229, allocations: 407.8 kB / 1.164 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002418/1.232, allocations: 0.9194 MB / 1.165 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004662/1.237, allocations: 2.254 MB / 1.167 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.237, allocations: 0 / 1.167 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.164e-06/1.237, allocations: 0 / 1.167 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.791e-05/1.237, allocations: 1.469 kB / 1.167 GB, free: 5.184 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005106/1.242, allocations: 2.105 MB / 1.169 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.242, allocations: 10.16 kB / 1.169 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/1.243, allocations: 237 kB / 1.169 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003054/1.246, allocations: 1.514 MB / 1.171 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.307e-05/1.246, allocations: 76.22 kB / 1.171 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/1.246, allocations: 104.3 kB / 1.171 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/1.249, allocations: 1.096 MB / 1.172 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/1.249, allocations: 8.75 kB / 1.172 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.637e-05/1.249, allocations: 38.19 kB / 1.172 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-05/1.249, allocations: 32.02 kB / 1.172 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/1.251, allocations: 0.8872 MB / 1.173 GB, free: 1.043 MB / 0.8887 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.008225/1.259, allocations: 4.93 MB / 1.178 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/1.261, allocations: 0.6045 MB / 1.178 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008507/1.262, allocations: 340.1 kB / 1.179 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007913/1.263, allocations: 0.8267 MB / 1.179 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/1.263, allocations: 38.75 kB / 1.18 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=61): time 3.176e-06/1.263, allocations: 0 / 1.18 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=61): time 0.008455/1.271, allocations: 1.72 MB / 1.181 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/1.271, allocations: 57.81 kB / 1.181 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003201/1.275, allocations: 1.234 MB / 1.182 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002034/1.275, allocations: 42.58 kB / 1.183 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00079/1.276, allocations: 0.6095 MB / 1.183 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/1.276, allocations: 211.9 kB / 1.183 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003821/1.276, allocations: 152.1 kB / 1.183 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001825/1.277, allocations: 339.8 kB / 1.184 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000875/1.278, allocations: 284.9 kB / 1.184 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/1.279, allocations: 0.4883 MB / 1.185 GB, free: 7.949 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/1.281, allocations: 0.704 MB / 1.185 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/1.281, allocations: 1.469 kB / 1.185 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005869/1.286, allocations: 1.269 MB / 1.186 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/1.287, allocations: 6.781 kB / 1.186 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/1.287, allocations: 7.375 kB / 1.186 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007955/1.287, allocations: 141.6 kB / 1.187 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007854/1.288, allocations: 162.4 kB / 1.187 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/1.289, allocations: 0.6897 MB / 1.187 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/1.291, allocations: 158 kB / 1.188 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/1.291, allocations: 35.66 kB / 1.188 GB, free: 6.027 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001708/1.293, allocations: 0.5486 MB / 1.188 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00117/1.294, allocations: 498.8 kB / 1.189 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001876/1.296, allocations: 0.697 MB / 1.189 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.015e-05/1.296, allocations: 1.156 kB / 1.189 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005694/1.302, allocations: 1.268 MB / 1.191 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.302, allocations: 6.875 kB / 1.191 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/1.302, allocations: 4.125 kB / 1.191 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006405/1.303, allocations: 140.4 kB / 1.191 GB, free: 4.152 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007262/1.303, allocations: 162 kB / 1.191 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009047/1.304, allocations: 0.6943 MB / 1.192 GB, free: 3.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/1.306, allocations: 135.7 kB / 1.192 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/1.306, allocations: 34.17 kB / 1.192 GB, free: 3.406 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003955/1.307, allocations: 221.6 kB / 1.192 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007082/1.308, allocations: 136.7 kB / 1.192 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00537/1.313, allocations: 1.264 MB / 1.193 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/1.313, allocations: 8.625 kB / 1.193 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.313, allocations: 0 / 1.193 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004421/1.317, allocations: 1.092 MB / 1.194 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009068/1.327, allocations: 2.57 MB / 1.197 GB, free: 16 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/1.327, allocations: 7.125 kB / 1.197 GB, free: 12 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006676/1.327, allocations: 115.6 kB / 1.197 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005944/1.328, allocations: 131.6 kB / 1.197 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.93e-05/1.328, allocations: 26.39 kB / 1.197 GB, free: 15.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005483/1.333, allocations: 2.588 MB / 1.2 GB, free: 13.35 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.334, allocations: 4 kB / 1.2 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006435/1.34, allocations: 1.684 MB / 1.201 GB, free: 11.59 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/1.341, allocations: 311.2 kB / 1.202 GB, free: 11.27 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008025/1.342, allocations: 16 kB / 1.202 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/1.344, allocations: 91.8 kB / 1.202 GB, free: 11.16 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/1.344, allocations: 60.25 kB / 1.202 GB, free: 11.11 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/1.344, allocations: 35.97 kB / 1.202 GB, free: 11.07 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001947/1.346, allocations: 0.8864 MB / 1.203 GB, free: 10.18 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.5e-07/1.346, allocations: 0 / 1.203 GB, free: 10.18 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003692/1.35, allocations: 0.7135 MB / 1.203 GB, free: 9.469 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001476/1.351, allocations: 467.5 kB / 1.204 GB, free: 9.016 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003494/1.355, allocations: 1.153 MB / 1.205 GB, free: 7.863 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.355, allocations: 4.062 kB / 1.205 GB, free: 7.859 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001761/1.357, allocations: 0.5524 MB / 1.205 GB, free: 7.297 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005236/1.362, allocations: 0.8146 MB / 1.206 GB, free: 6.508 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/1.368, allocations: 2.807 MB / 1.209 GB, free: 3.625 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/1.369, allocations: 1.176 MB / 1.21 GB, free: 2.418 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005787/1.37, allocations: 111.4 kB / 1.21 GB, free: 2.309 MB / 0.92 GB Notification: Performance of SimCode: time 1.122e-06/1.37, allocations: 7.938 kB / 1.21 GB, free: 2.301 MB / 0.92 GB Notification: Performance of Templates: time 0.05656/1.426, allocations: 31.6 MB / 1.241 GB, free: 2.918 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.sim & ./Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe 2>&1)