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.001231/0.001231, 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.001094/0.001094, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.404/1.404, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.789/2.789, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.78 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3626, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003241/0.3659, allocations: 1.744 MB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1671/0.533, allocations: 146.1 MB / 1.212 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.5331, allocations: 8 kB / 1.212 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.5334, allocations: 44.02 kB / 1.212 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.5346, allocations: 402.3 kB / 1.212 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.5347, allocations: 51.89 kB / 1.212 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000168/0.5349, allocations: 139.3 kB / 1.213 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.535, allocations: 17.38 kB / 1.213 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.532e-05/0.535, allocations: 51.78 kB / 1.213 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.5352, allocations: 63.75 kB / 1.213 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.5352, allocations: 4 kB / 1.213 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009424/0.5362, allocations: 0.569 MB / 1.213 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.387e-05/0.5362, allocations: 23.91 kB / 1.213 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.78e-05/0.5363, allocations: 43.8 kB / 1.213 GB, free: 5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.5369, allocations: 395 kB / 1.214 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5369, allocations: 0 / 1.214 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5369, allocations: 3.938 kB / 1.214 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.5369, allocations: 0 / 1.214 GB, free: 4.609 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.0006981/0.5376, allocations: 482.8 kB / 1.214 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.5376, allocations: 12.03 kB / 1.214 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.5388, allocations: 172 kB / 1.214 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.5392, allocations: 316.1 kB / 1.215 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.213e-05/0.5392, allocations: 158.5 kB / 1.215 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.27e-05/0.5393, allocations: 154.5 kB / 1.215 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.132e-05/0.5394, allocations: 105 kB / 1.215 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.5394, allocations: 79.28 kB / 1.215 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.5395, allocations: 150.6 kB / 1.215 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.488e-05/0.5396, allocations: 154.6 kB / 1.215 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.117e-05/0.5396, allocations: 154.5 kB / 1.216 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.54, allocations: 0.5172 MB / 1.216 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.324e-05/0.5401, allocations: 165.1 kB / 1.216 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/0.5402, allocations: 84.19 kB / 1.216 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.5402, allocations: 83.28 kB / 1.216 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.5403, allocations: 109.8 kB / 1.216 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.5403, allocations: 0 / 1.216 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0002975/0.5406, allocations: 61.58 kB / 1.217 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.5406, allocations: 126.7 kB / 1.217 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.5409, allocations: 215.2 kB / 1.217 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.541, allocations: 25.7 kB / 1.217 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/0.541, allocations: 112 kB / 1.217 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.5411, allocations: 0 / 1.217 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.5411, allocations: 17.72 kB / 1.217 GB, free: 1 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5412, allocations: 322.8 kB / 1.217 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.908e-05/0.5413, allocations: 28.84 kB / 1.217 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.054e-05/0.5413, allocations: 12 kB / 1.217 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.104e-05/0.5414, allocations: 36.86 kB / 1.217 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.5414, allocations: 7.938 kB / 1.217 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006377/0.5421, allocations: 134.4 kB / 1.218 GB, free: 456 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.5421, allocations: 8 kB / 1.218 GB, free: 448 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.5421, allocations: 3.984 kB / 1.218 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008722/0.543, allocations: 148.6 kB / 1.218 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.5431, allocations: 8 kB / 1.218 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/0.5456, allocations: 1.498 MB / 1.219 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.5457, allocations: 11.91 kB / 1.219 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.5458, allocations: 4 kB / 1.219 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.949e-05/0.5459, allocations: 100.1 kB / 1.219 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.004e-05/0.5459, allocations: 12 kB / 1.219 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.474e-05/0.546, allocations: 36.78 kB / 1.219 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.61e-07/0.546, allocations: 0 / 1.219 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002481/0.5462, allocations: 102.5 kB / 1.219 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.5462, allocations: 8 kB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.5463, allocations: 8.062 kB / 1.219 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003723/0.5466, allocations: 112.7 kB / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.357e-05/0.5467, allocations: 4 kB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.548, allocations: 1.36 MB / 1.221 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.5482, allocations: 7.938 kB / 1.221 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.5482, allocations: 0 / 1.221 GB, free: 12.73 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.0001289/0.5484, allocations: 263.5 kB / 1.221 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.5484, allocations: 116.9 kB / 1.221 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.424e-05/0.5485, allocations: 117.5 kB / 1.221 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.169e-05/0.5486, allocations: 180.2 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.127e-05/0.5486, allocations: 176.3 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.163e-05/0.5487, allocations: 180.3 kB / 1.222 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.549, allocations: 453 kB / 1.222 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.394e-05/0.549, allocations: 105 kB / 1.222 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.5491, allocations: 108.9 kB / 1.222 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.064e-05/0.5491, allocations: 176.3 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.226e-05/0.5492, allocations: 180.2 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.23e-05/0.5493, allocations: 188.2 kB / 1.223 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.972e-05/0.5494, allocations: 188.2 kB / 1.223 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.5495, allocations: 307.6 kB / 1.223 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.5496, allocations: 201.9 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.564e-05/0.5497, allocations: 188.2 kB / 1.224 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.5499, allocations: 105 kB / 1.224 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.914e-05/0.55, allocations: 184.2 kB / 1.224 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/0.55, allocations: 101 kB / 1.224 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001867/0.5502, allocations: 168 kB / 1.224 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5502, allocations: 0 / 1.224 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004548/0.5507, allocations: 64 kB / 1.224 GB, free: 8.844 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.0003238/0.551, allocations: 222.3 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006/0.5516, allocations: 301.3 kB / 1.225 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.5517, allocations: 0 / 1.225 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.315e-06/0.5517, allocations: 4 kB / 1.225 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.5523, allocations: 0.538 MB / 1.225 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/0.5528, allocations: 315.9 kB / 1.226 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.5532, allocations: 0.6967 MB / 1.226 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.352e-05/0.5533, allocations: 16.58 kB / 1.226 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.5533, allocations: 15.38 kB / 1.226 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.5533, allocations: 0 / 1.226 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of Templates: time 0.006948/0.5603, allocations: 2.957 MB / 1.229 GB, free: 3.742 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)