Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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.ModularReversible.Validation.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_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.001267/0.001267, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00156/0.00156, allocations: 193.7 kB / 16.14 MB, free: 6.703 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.466/1.466, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.988/2.988, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 62.34 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3895, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y): time 0.07818/0.4678, allocations: 74.96 MB / 1.141 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02199/0.4898, allocations: 12.86 MB / 1.153 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003282/0.4931, allocations: 59.62 kB / 1.153 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002389/0.4956, allocations: 0.6837 MB / 1.154 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007541/0.5031, allocations: 2.282 MB / 1.156 GB, free: 15.78 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003795/0.507, allocations: 1.27 MB / 1.157 GB, free: 14.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007149/0.5141, allocations: 5.585 MB / 1.163 GB, free: 8.926 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/0.5161, allocations: 1.191 MB / 1.164 GB, free: 7.703 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003195/0.5193, allocations: 1.357 MB / 1.165 GB, free: 6.34 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/0.5212, allocations: 1.194 MB / 1.167 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.5214, allocations: 72 kB / 1.167 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003252/0.5247, allocations: 1.255 MB / 1.168 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003672/0.5251, allocations: 326.5 kB / 1.168 GB, free: 3.492 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.5262, allocations: 0.8161 MB / 1.169 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003918/0.5302, allocations: 2.808 MB / 1.172 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5302, allocations: 4 kB / 1.172 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5302, allocations: 0 / 1.172 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.576e-05/0.5302, allocations: 0 / 1.172 GB, free: 15.85 MB / 0.9356 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.004634/0.5349, allocations: 2.103 MB / 1.174 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.5349, allocations: 12.03 kB / 1.174 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008546/0.5358, allocations: 230.8 kB / 1.174 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.5383, allocations: 1.505 MB / 1.175 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.915e-05/0.5384, allocations: 74 kB / 1.176 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.5385, allocations: 107.9 kB / 1.176 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.5406, allocations: 1.104 MB / 1.177 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.5407, allocations: 0 / 1.177 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-05/0.5408, allocations: 36 kB / 1.177 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-05/0.5408, allocations: 28 kB / 1.177 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.5427, allocations: 0.8822 MB / 1.178 GB, free: 9.621 MB / 0.9356 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.006279/0.549, allocations: 4.924 MB / 1.182 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.5505, allocations: 0.6085 MB / 1.183 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007049/0.5512, allocations: 344.4 kB / 1.183 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007267/0.5519, allocations: 0.8277 MB / 1.184 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.552, allocations: 43.06 kB / 1.184 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 2.104e-06/0.552, allocations: 0 / 1.184 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007446/0.5595, allocations: 1.713 MB / 1.186 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.5595, allocations: 55.97 kB / 1.186 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.5613, allocations: 1.243 MB / 1.187 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.424e-05/0.5613, allocations: 37.7 kB / 1.187 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005364/0.5619, allocations: 0.6144 MB / 1.188 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.5621, allocations: 220.9 kB / 1.188 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.5624, allocations: 150.6 kB / 1.188 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.5625, allocations: 334 kB / 1.188 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006839/0.5632, allocations: 288.6 kB / 1.189 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008727/0.5641, allocations: 491.9 kB / 1.189 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.5655, allocations: 0.7051 MB / 1.19 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5655, allocations: 3.938 kB / 1.19 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004765/0.5703, allocations: 1.273 MB / 1.191 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.5703, allocations: 8 kB / 1.191 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.5704, allocations: 4 kB / 1.191 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00066/0.571, allocations: 148.8 kB / 1.191 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/0.5717, allocations: 159.8 kB / 1.191 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000906/0.5726, allocations: 0.6851 MB / 1.192 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.5739, allocations: 159 kB / 1.192 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.238e-05/0.5739, allocations: 31.98 kB / 1.192 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001152/0.5751, allocations: 0.5494 MB / 1.193 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008852/0.576, allocations: 489.7 kB / 1.193 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001456/0.5775, allocations: 0.7011 MB / 1.194 GB, free: 8 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.945e-06/0.5775, allocations: 0 / 1.194 GB, free: 8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004736/0.5822, allocations: 1.265 MB / 1.195 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.5823, allocations: 4 kB / 1.195 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.5823, allocations: 7.938 kB / 1.195 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005537/0.5828, allocations: 145.1 kB / 1.195 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006209/0.5835, allocations: 159.7 kB / 1.196 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008055/0.5843, allocations: 0.6967 MB / 1.196 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.5855, allocations: 127.5 kB / 1.196 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/0.5856, allocations: 32.17 kB / 1.196 GB, free: 5.531 MB / 0.9512 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.0002618/0.5859, allocations: 228.1 kB / 1.197 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.5861, allocations: 146.2 kB / 1.197 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004747/0.5909, allocations: 1.259 MB / 1.198 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/0.5909, allocations: 8 kB / 1.198 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.5909, allocations: 8 kB / 1.198 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004245/0.5952, allocations: 1.095 MB / 1.199 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007016/0.6022, allocations: 2.575 MB / 1.202 GB, free: 48 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.6022, allocations: 4 kB / 1.202 GB, free: 44 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000534/0.6028, allocations: 111.9 kB / 1.202 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005334/0.6033, allocations: 145 kB / 1.202 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/0.6034, allocations: 19.94 kB / 1.202 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004717/0.6081, allocations: 2.33 MB / 1.204 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6081, allocations: 4 kB / 1.204 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005554/0.6137, allocations: 1.695 MB / 1.206 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000794/0.6145, allocations: 311.1 kB / 1.206 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.6147, allocations: 20 kB / 1.206 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009322/0.6157, allocations: 79.97 kB / 1.206 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.6158, allocations: 52.59 kB / 1.206 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.933e-05/0.6159, allocations: 35.95 kB / 1.206 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001433/0.6174, allocations: 0.8904 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.904e-06/0.6174, allocations: 3.938 kB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002201/0.6196, allocations: 0.7212 MB / 1.208 GB, free: 9.402 MB / 0.9669 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.001055/0.6206, allocations: 459.8 kB / 1.208 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002772/0.6234, allocations: 1.097 MB / 1.209 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6234, allocations: 0 / 1.209 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001592/0.625, allocations: 0.5571 MB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003736/0.6288, allocations: 0.7698 MB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/0.6333, allocations: 2.769 MB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007824/0.6341, allocations: 1.187 MB / 1.214 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001299/0.6354, allocations: 307.2 kB / 1.215 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.6356, allocations: 111.4 kB / 1.215 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of SimCode: time 9.42e-07/0.6357, allocations: 3.938 kB / 1.215 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of Templates: time 0.05284/0.6885, allocations: 31.09 MB / 1.245 GB, free: 3.336 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe 2>&1)