Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Chillers.Examples.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009155/0.009155, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.464/1.464, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.98/2.98, allocations: 473.4 MB / 0.7469 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003576, allocations: 17.5 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4202, allocations: 162.2 MB / 1.074 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07558/0.4959, allocations: 73.45 MB / 1.146 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02061/0.5165, allocations: 12.68 MB / 1.158 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00385/0.5204, allocations: 63.56 kB / 1.158 GB, free: 1.129 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004076/0.5246, allocations: 0.676 MB / 1.159 GB, free: 460 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00946/0.5341, allocations: 2.266 MB / 1.161 GB, free: 14.18 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004257/0.5383, allocations: 1.265 MB / 1.162 GB, free: 12.92 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008317/0.5467, allocations: 5.543 MB / 1.168 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002226/0.5489, allocations: 1.159 MB / 1.169 GB, free: 6.172 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003368/0.5523, allocations: 1.31 MB / 1.17 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002418/0.5548, allocations: 1.128 MB / 1.171 GB, free: 3.723 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002678/0.555, allocations: 56 kB / 1.171 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003958/0.559, allocations: 1.239 MB / 1.173 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000477/0.5595, allocations: 290.6 kB / 1.173 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.5609, allocations: 0.7983 MB / 1.174 GB, free: 1.332 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00446/0.5653, allocations: 2.71 MB / 1.176 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.5654, allocations: 0 / 1.176 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.819e-06/0.5654, allocations: 0 / 1.176 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.263e-05/0.5654, allocations: 3.938 kB / 1.176 GB, free: 14.61 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.003663/0.5691, allocations: 1.784 MB / 1.178 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.5692, allocations: 8.031 kB / 1.178 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008549/0.57, allocations: 238.8 kB / 1.178 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003523/0.5736, allocations: 1.493 MB / 1.18 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.5737, allocations: 74 kB / 1.18 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000243/0.574, allocations: 100 kB / 1.18 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002511/0.5765, allocations: 1.124 MB / 1.181 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.5765, allocations: 7.984 kB / 1.181 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.5766, allocations: 40 kB / 1.181 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.1e-05/0.5767, allocations: 27.94 kB / 1.181 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/0.5787, allocations: 0.9213 MB / 1.182 GB, free: 8.648 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.00658/0.5853, allocations: 4.915 MB / 1.187 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.5868, allocations: 0.6431 MB / 1.187 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007495/0.5875, allocations: 370.3 kB / 1.188 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006817/0.5882, allocations: 0.8277 MB / 1.189 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.5883, allocations: 43.12 kB / 1.189 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 2.274e-06/0.5883, allocations: 0 / 1.189 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007847/0.5961, allocations: 1.892 MB / 1.19 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.5962, allocations: 55.97 kB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/0.5981, allocations: 1.21 MB / 1.192 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.5983, allocations: 37.7 kB / 1.192 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005808/0.5989, allocations: 0.5987 MB / 1.192 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.5991, allocations: 216.8 kB / 1.193 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.407e-05/0.5992, allocations: 61.69 kB / 1.193 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.5994, allocations: 341.9 kB / 1.193 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007245/0.6002, allocations: 301.8 kB / 1.193 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008714/0.601, allocations: 0.5067 MB / 1.194 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.6026, allocations: 0.752 MB / 1.194 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.6026, allocations: 0 / 1.194 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005292/0.6079, allocations: 1.414 MB / 1.196 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.608, allocations: 199.3 kB / 1.196 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.6081, allocations: 4 kB / 1.196 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006485/0.6087, allocations: 140.7 kB / 1.196 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006381/0.6094, allocations: 171.7 kB / 1.196 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008899/0.6103, allocations: 0.7084 MB / 1.197 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.6117, allocations: 171 kB / 1.197 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.306e-05/0.6117, allocations: 24 kB / 1.197 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.6118, allocations: 4 kB / 1.197 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004748/0.6165, allocations: 1.261 MB / 1.198 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.6166, allocations: 4 kB / 1.198 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005167/0.6171, allocations: 140.9 kB / 1.199 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/0.6177, allocations: 171.7 kB / 1.199 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008258/0.6185, allocations: 0.7122 MB / 1.199 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.6199, allocations: 151.2 kB / 1.2 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/0.62, allocations: 32 kB / 1.2 GB, free: 5.793 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.0007861/0.6208, allocations: 417.4 kB / 1.2 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.621, allocations: 134.5 kB / 1.2 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005191/0.6262, allocations: 1.408 MB / 1.201 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/0.6263, allocations: 11.94 kB / 1.201 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.6263, allocations: 3.984 kB / 1.201 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005621/0.6319, allocations: 1.236 MB / 1.203 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009681/0.6416, allocations: 2.743 MB / 1.205 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.6417, allocations: 8.062 kB / 1.205 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007175/0.6424, allocations: 119.9 kB / 1.205 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006997/0.6431, allocations: 144.7 kB / 1.206 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.523e-05/0.6432, allocations: 16 kB / 1.206 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006527/0.6498, allocations: 2.439 MB / 1.208 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.6498, allocations: 4 kB / 1.208 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0069/0.6567, allocations: 1.856 MB / 1.21 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.6579, allocations: 339 kB / 1.21 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/0.6582, allocations: 16 kB / 1.21 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.6595, allocations: 87.91 kB / 1.21 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.6597, allocations: 64.23 kB / 1.21 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.423e-05/0.6598, allocations: 31.98 kB / 1.21 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00181/0.6616, allocations: 0.8699 MB / 1.211 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.134e-06/0.6616, allocations: 0 / 1.211 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002886/0.6645, allocations: 0.7173 MB / 1.212 GB, free: 8.738 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.001282/0.6658, allocations: 437.5 kB / 1.212 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003757/0.6696, allocations: 1.172 MB / 1.213 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.6696, allocations: 0 / 1.213 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002158/0.6718, allocations: 0.5956 MB / 1.214 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00647/0.6783, allocations: 0.7828 MB / 1.215 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005849/0.6841, allocations: 2.817 MB / 1.218 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/0.6854, allocations: 1.173 MB / 1.219 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001819/0.6873, allocations: 307 kB / 1.219 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.6876, allocations: 115.4 kB / 1.219 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of SimCode: time 1.724e-06/0.6876, allocations: 0 / 1.219 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of Templates: time 0.05984/0.7474, allocations: 31.81 MB / 1.25 GB, free: 1.766 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)