Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001203/0.001203, allocations: 98.27 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.01089/0.01089, allocations: 172.2 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.435/1.435, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.989/2.989, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005095/0.0005095, allocations: 17.89 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3723, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.00206/0.3744, allocations: 1.405 MB / 1.076 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1579/0.5323, allocations: 144.6 MB / 1.217 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.5324, allocations: 0 / 1.217 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.5327, allocations: 47.97 kB / 1.217 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.5339, allocations: 390.3 kB / 1.217 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.534, allocations: 59.94 kB / 1.217 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.5342, allocations: 139.3 kB / 1.217 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.025e-05/0.5343, allocations: 9.391 kB / 1.217 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.974e-05/0.5344, allocations: 51.83 kB / 1.217 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.5345, allocations: 63.7 kB / 1.217 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.5346, allocations: 11.94 kB / 1.217 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009915/0.5356, allocations: 0.569 MB / 1.218 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.5356, allocations: 19.91 kB / 1.218 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.926e-05/0.5357, allocations: 77.42 kB / 1.218 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005421/0.5362, allocations: 391 kB / 1.218 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.5363, allocations: 0 / 1.218 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.478e-06/0.5363, allocations: 4 kB / 1.218 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.5363, allocations: 0 / 1.218 GB, free: 3.145 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.0006731/0.537, allocations: 462.9 kB / 1.219 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.537, allocations: 8.031 kB / 1.219 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.5382, allocations: 184 kB / 1.219 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.5385, allocations: 312.2 kB / 1.219 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.5386, allocations: 154.5 kB / 1.22 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.67e-05/0.5387, allocations: 162.6 kB / 1.22 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.425e-05/0.5387, allocations: 104.9 kB / 1.22 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.5388, allocations: 75.28 kB / 1.22 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.251e-05/0.5388, allocations: 150.6 kB / 1.22 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-05/0.5389, allocations: 150.6 kB / 1.22 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.278e-05/0.539, allocations: 154.6 kB / 1.22 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.5394, allocations: 0.5172 MB / 1.221 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.5396, allocations: 173.1 kB / 1.221 GB, free: 432 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.5396, allocations: 84.08 kB / 1.221 GB, free: 344 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.5396, allocations: 79.28 kB / 1.221 GB, free: 264 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.5397, allocations: 109.8 kB / 1.221 GB, free: 144 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.5397, allocations: 0 / 1.221 GB, free: 144 kB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0002795/0.54, allocations: 57.59 kB / 1.221 GB, free: 80 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.54, allocations: 130.6 kB / 1.221 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.5403, allocations: 219.2 kB / 1.222 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.5404, allocations: 25.7 kB / 1.222 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.5404, allocations: 108.1 kB / 1.222 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.5405, allocations: 0 / 1.222 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.5405, allocations: 17.72 kB / 1.222 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5406, allocations: 318.8 kB / 1.222 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.143e-05/0.5407, allocations: 15.98 kB / 1.222 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.143e-05/0.5407, allocations: 20 kB / 1.222 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.745e-05/0.5408, allocations: 28.8 kB / 1.222 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5408, allocations: 0 / 1.222 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006216/0.5414, allocations: 146.2 kB / 1.222 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/0.5415, allocations: 89 kB / 1.222 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5415, allocations: 4 kB / 1.222 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008033/0.5423, allocations: 152.6 kB / 1.223 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.688e-05/0.5424, allocations: 8 kB / 1.223 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.5445, allocations: 1.492 MB / 1.224 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.5447, allocations: 19.94 kB / 1.224 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.5447, allocations: 7.984 kB / 1.224 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.154e-06/0.5447, allocations: 4 kB / 1.224 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002097/0.545, allocations: 68.77 kB / 1.224 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.545, allocations: 3.938 kB / 1.224 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003895/0.5454, allocations: 108.7 kB / 1.224 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.282e-05/0.5454, allocations: 7.984 kB / 1.224 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.5466, allocations: 1.36 MB / 1.226 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.5468, allocations: 32 / 1.226 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.5468, allocations: 7.984 kB / 1.226 GB, free: 11.39 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.0001572/0.547, allocations: 269.7 kB / 1.226 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.402e-05/0.5471, allocations: 120.7 kB / 1.226 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.111e-05/0.5471, allocations: 121.6 kB / 1.226 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.971e-05/0.5472, allocations: 184.1 kB / 1.226 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.392e-05/0.5473, allocations: 180.3 kB / 1.226 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.309e-05/0.5474, allocations: 180.3 kB / 1.227 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.5477, allocations: 445 kB / 1.227 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/0.5477, allocations: 109 kB / 1.227 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.5478, allocations: 112.9 kB / 1.227 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.204e-05/0.5478, allocations: 176.3 kB / 1.227 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.076e-05/0.5479, allocations: 176.3 kB / 1.228 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.386e-05/0.548, allocations: 188.3 kB / 1.228 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.006e-05/0.548, allocations: 176.3 kB / 1.228 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.5482, allocations: 323.6 kB / 1.228 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.5483, allocations: 198.2 kB / 1.228 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.002e-05/0.5484, allocations: 180.3 kB / 1.229 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.5485, allocations: 109 kB / 1.229 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.5486, allocations: 192.2 kB / 1.229 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.5487, allocations: 101 kB / 1.229 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002004/0.5489, allocations: 168 kB / 1.229 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5489, allocations: 3.938 kB / 1.229 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004209/0.5493, allocations: 64 kB / 1.229 GB, free: 7.48 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.0002564/0.5496, allocations: 210.4 kB / 1.229 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005544/0.5501, allocations: 305.2 kB / 1.23 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5501, allocations: 0 / 1.23 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.318e-06/0.5501, allocations: 4 kB / 1.23 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.5507, allocations: 0.5475 MB / 1.23 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.5511, allocations: 329.5 kB / 1.23 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.5514, allocations: 0.7045 MB / 1.231 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.679e-05/0.5515, allocations: 12.55 kB / 1.231 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.5516, allocations: 15.42 kB / 1.231 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.5516, allocations: 0 / 1.231 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of Templates: time 0.00636/0.558, allocations: 2.932 MB / 1.234 GB, free: 2.387 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.makefile (rm -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & ./Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1)