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.001493/0.001493, 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.001811/0.001811, allocations: 192.6 kB / 16.13 MB, free: 6.656 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.437/1.437, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.007/3.007, allocations: 472.6 MB / 0.7447 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 65.05 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3527, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003047/0.3558, allocations: 1.75 MB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1728/0.5286, allocations: 146.2 MB / 1.212 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.5287, allocations: 4 kB / 1.212 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.529, allocations: 43.97 kB / 1.212 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.5302, allocations: 402.3 kB / 1.212 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.5303, allocations: 47.95 kB / 1.212 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.5305, allocations: 143.3 kB / 1.213 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.762e-05/0.5306, allocations: 13.39 kB / 1.213 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.713e-05/0.5306, allocations: 47.83 kB / 1.213 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.5308, allocations: 67.69 kB / 1.213 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.5308, allocations: 4 kB / 1.213 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009691/0.5318, allocations: 0.5691 MB / 1.213 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.5318, allocations: 19.84 kB / 1.213 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.5319, allocations: 51.73 kB / 1.213 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006014/0.5325, allocations: 395 kB / 1.214 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5325, allocations: 0 / 1.214 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5325, allocations: 0 / 1.214 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.5326, allocations: 0 / 1.214 GB, free: 4.695 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.0008184/0.5334, allocations: 490.8 kB / 1.214 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.5334, allocations: 8.031 kB / 1.214 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.5347, allocations: 168 kB / 1.214 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.535, allocations: 320.1 kB / 1.215 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-05/0.5351, allocations: 158.5 kB / 1.215 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.444e-05/0.5352, allocations: 150.6 kB / 1.215 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.594e-05/0.5353, allocations: 108.9 kB / 1.215 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/0.5354, allocations: 75.28 kB / 1.215 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/0.5354, allocations: 150.6 kB / 1.215 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.319e-05/0.5355, allocations: 154.6 kB / 1.215 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.674e-05/0.5356, allocations: 150.6 kB / 1.216 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.5361, allocations: 0.5172 MB / 1.216 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.5362, allocations: 169.1 kB / 1.216 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.5362, allocations: 92.12 kB / 1.216 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.5363, allocations: 83.28 kB / 1.216 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.136e-05/0.5363, allocations: 109.8 kB / 1.216 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.5363, allocations: 0 / 1.216 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.000294/0.5366, allocations: 57.58 kB / 1.217 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.5367, allocations: 130.7 kB / 1.217 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.537, allocations: 211.2 kB / 1.217 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.537, allocations: 33.64 kB / 1.217 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.371e-05/0.5371, allocations: 108 kB / 1.217 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.5371, allocations: 0 / 1.217 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.5372, allocations: 17.72 kB / 1.217 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5373, allocations: 326.8 kB / 1.217 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.043e-05/0.5374, allocations: 28.84 kB / 1.217 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-05/0.5374, allocations: 16 kB / 1.217 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.89e-05/0.5375, allocations: 28.8 kB / 1.217 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5375, allocations: 0 / 1.217 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006487/0.5382, allocations: 146.3 kB / 1.218 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.5382, allocations: 6.031 kB / 1.218 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5382, allocations: 0 / 1.218 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007975/0.539, allocations: 148.6 kB / 1.218 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.348e-05/0.5391, allocations: 4 kB / 1.218 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.5413, allocations: 1.487 MB / 1.219 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.5414, allocations: 11.91 kB / 1.219 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.5415, allocations: 7.984 kB / 1.219 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.071e-05/0.5416, allocations: 102.1 kB / 1.219 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.334e-05/0.5416, allocations: 19.94 kB / 1.219 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.578e-05/0.5417, allocations: 28.84 kB / 1.219 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/0.5417, allocations: 3.984 kB / 1.219 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.000231/0.5419, allocations: 102.4 kB / 1.219 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.5419, allocations: 12 kB / 1.219 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.5419, allocations: 0 / 1.219 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000369/0.5423, allocations: 116.6 kB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.25e-05/0.5424, allocations: 4 kB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.5435, allocations: 1.364 MB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.5437, allocations: 11.88 kB / 1.221 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.5437, allocations: 0 / 1.221 GB, free: 12.8 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.0001246/0.5438, allocations: 263.5 kB / 1.221 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.5439, allocations: 108.9 kB / 1.221 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.544, allocations: 121.5 kB / 1.221 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.25e-05/0.5441, allocations: 176.3 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.989e-05/0.5441, allocations: 176.3 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.546e-05/0.5442, allocations: 184.2 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.5445, allocations: 453.1 kB / 1.222 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.962e-05/0.5445, allocations: 104.9 kB / 1.222 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.5446, allocations: 105 kB / 1.222 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.527e-05/0.5446, allocations: 180.5 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/0.5447, allocations: 184.2 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.648e-05/0.5448, allocations: 180.3 kB / 1.223 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.377e-05/0.5449, allocations: 188.2 kB / 1.223 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.5451, allocations: 311.7 kB / 1.223 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.5452, allocations: 201.8 kB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.193e-05/0.5453, allocations: 184.2 kB / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.5455, allocations: 112.9 kB / 1.224 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.5456, allocations: 180.3 kB / 1.224 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.5456, allocations: 101 kB / 1.224 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002067/0.5459, allocations: 164 kB / 1.224 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5459, allocations: 7.938 kB / 1.224 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004409/0.5463, allocations: 64 kB / 1.224 GB, free: 8.918 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.0003308/0.5467, allocations: 218.4 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005924/0.5473, allocations: 293.4 kB / 1.225 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5473, allocations: 4 kB / 1.225 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.879e-06/0.5473, allocations: 0 / 1.225 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.5478, allocations: 0.5457 MB / 1.225 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.5482, allocations: 315.4 kB / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.5485, allocations: 0.7006 MB / 1.226 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.412e-05/0.5486, allocations: 8.562 kB / 1.226 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.5487, allocations: 15.44 kB / 1.226 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.5487, allocations: 0 / 1.226 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of Templates: time 0.007602/0.5563, allocations: 2.955 MB / 1.229 GB, free: 3.828 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)