Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.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.DXSystems.Cooling.BaseClasses.Examples.UACp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009791/0.0009791, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008776/0.008776, allocations: 170.5 kB / 16.26 MB, free: 6.676 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.498/1.498, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.926/2.926, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.000388, allocations: 10.81 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3714, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002418/0.3738, allocations: 1.409 MB / 1.076 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1749/0.5487, allocations: 144.6 MB / 1.217 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.946e-05/0.5489, allocations: 0 / 1.217 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.5491, allocations: 51.95 kB / 1.217 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.5503, allocations: 390.3 kB / 1.217 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.5505, allocations: 55.89 kB / 1.217 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.5507, allocations: 139.4 kB / 1.217 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.977e-05/0.5507, allocations: 9.406 kB / 1.217 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.11e-05/0.5508, allocations: 47.78 kB / 1.217 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.551, allocations: 63.75 kB / 1.217 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.551, allocations: 4 kB / 1.217 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009888/0.552, allocations: 0.5768 MB / 1.218 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.5521, allocations: 15.92 kB / 1.218 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.5522, allocations: 81.41 kB / 1.218 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005669/0.5528, allocations: 387 kB / 1.218 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5528, allocations: 0 / 1.218 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5528, allocations: 0 / 1.218 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.5528, allocations: 0 / 1.218 GB, free: 3.129 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006936/0.5535, allocations: 466.9 kB / 1.219 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.5535, allocations: 12.03 kB / 1.219 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.5547, allocations: 172 kB / 1.219 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.5551, allocations: 324.1 kB / 1.219 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.5552, allocations: 158.4 kB / 1.22 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.886e-05/0.5553, allocations: 154.6 kB / 1.22 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.701e-05/0.5554, allocations: 105 kB / 1.22 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.5555, allocations: 75.28 kB / 1.22 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.5556, allocations: 150.6 kB / 1.22 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.943e-05/0.5556, allocations: 154.6 kB / 1.22 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.5558, allocations: 154.5 kB / 1.22 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.5562, allocations: 0.5172 MB / 1.221 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.034e-05/0.5563, allocations: 165.1 kB / 1.221 GB, free: 416 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.56e-05/0.5564, allocations: 92.08 kB / 1.221 GB, free: 320 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.5565, allocations: 75.28 kB / 1.221 GB, free: 244 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.5566, allocations: 109.8 kB / 1.221 GB, free: 124 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.753e-06/0.5566, allocations: 0 / 1.221 GB, free: 124 kB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0003039/0.5569, allocations: 61.52 kB / 1.221 GB, free: 56 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.557, allocations: 130.7 kB / 1.221 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.5573, allocations: 211.2 kB / 1.222 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.5573, allocations: 29.7 kB / 1.222 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.52e-05/0.5574, allocations: 104.1 kB / 1.222 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-06/0.5574, allocations: 0 / 1.222 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.5575, allocations: 13.72 kB / 1.222 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5576, allocations: 322.8 kB / 1.222 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-05/0.5577, allocations: 16 kB / 1.222 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-05/0.5577, allocations: 19.98 kB / 1.222 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.527e-05/0.5578, allocations: 32.92 kB / 1.222 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5578, allocations: 0 / 1.222 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006442/0.5584, allocations: 150.2 kB / 1.222 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.519e-05/0.5585, allocations: 89 kB / 1.222 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5585, allocations: 0 / 1.222 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008121/0.5593, allocations: 152.6 kB / 1.223 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-05/0.5594, allocations: 7.984 kB / 1.223 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.5616, allocations: 1.491 MB / 1.224 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.5618, allocations: 19.78 kB / 1.224 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.5618, allocations: 0 / 1.224 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.692e-06/0.5619, allocations: 4 kB / 1.224 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002063/0.5621, allocations: 76.75 kB / 1.224 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.5621, allocations: 7.938 kB / 1.224 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003766/0.5625, allocations: 104.7 kB / 1.224 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.352e-05/0.5625, allocations: 7.984 kB / 1.224 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.5637, allocations: 1.364 MB / 1.226 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.5638, allocations: 0 / 1.226 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.5638, allocations: 4.031 kB / 1.226 GB, free: 11.38 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 3 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.564, allocations: 277.5 kB / 1.226 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.5641, allocations: 116.8 kB / 1.226 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.526e-05/0.5641, allocations: 117.5 kB / 1.226 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.923e-05/0.5642, allocations: 184.2 kB / 1.226 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.91e-05/0.5643, allocations: 184.3 kB / 1.226 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.499e-05/0.5644, allocations: 180.2 kB / 1.227 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.5646, allocations: 449.1 kB / 1.227 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.786e-05/0.5647, allocations: 104.9 kB / 1.227 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.718e-05/0.5647, allocations: 105 kB / 1.227 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.868e-05/0.5648, allocations: 180.2 kB / 1.227 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/0.5649, allocations: 180.2 kB / 1.228 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-05/0.565, allocations: 176.3 kB / 1.228 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.958e-05/0.5651, allocations: 188.2 kB / 1.228 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.5652, allocations: 315.7 kB / 1.228 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.5653, allocations: 198.2 kB / 1.228 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/0.5654, allocations: 180.3 kB / 1.229 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.5656, allocations: 116.9 kB / 1.229 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.5657, allocations: 184.3 kB / 1.229 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.5657, allocations: 101 kB / 1.229 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002056/0.5659, allocations: 168 kB / 1.229 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5659, allocations: 0 / 1.229 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000435/0.5664, allocations: 67.98 kB / 1.229 GB, free: 7.465 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000381/0.5668, allocations: 210.4 kB / 1.229 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005637/0.5673, allocations: 305.3 kB / 1.23 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5673, allocations: 0 / 1.23 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.5673, allocations: 0 / 1.23 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007317/0.5681, allocations: 0.5593 MB / 1.23 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.5685, allocations: 329.5 kB / 1.23 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.5688, allocations: 0.6967 MB / 1.231 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.5689, allocations: 12.81 kB / 1.231 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.569, allocations: 19.42 kB / 1.231 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.569, allocations: 0 / 1.231 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of Templates: time 0.006909/0.5759, allocations: 2.933 MB / 1.234 GB, free: 2.367 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & ./Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1)