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.001177/0.001177, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001278/0.001278, allocations: 192.7 kB / 16.25 MB, free: 6.156 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.443/1.443, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.998/2.998, allocations: 472.6 MB / 0.7448 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 65.39 kB / 0.9115 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3202, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003073/0.3233, allocations: 1.74 MB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1538/0.4771, allocations: 146.3 MB / 1.212 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.4773, allocations: 0 / 1.212 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.4777, allocations: 51.95 kB / 1.212 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001798/0.4795, allocations: 402.4 kB / 1.213 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.4797, allocations: 55.95 kB / 1.213 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.4801, allocations: 143.3 kB / 1.213 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.715e-05/0.4802, allocations: 9.406 kB / 1.213 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.4803, allocations: 55.83 kB / 1.213 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.4805, allocations: 59.77 kB / 1.213 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.4806, allocations: 12 kB / 1.213 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.4817, allocations: 0.5378 MB / 1.214 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.4818, allocations: 19.92 kB / 1.214 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.002e-05/0.4818, allocations: 63.66 kB / 1.214 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008099/0.4827, allocations: 398.9 kB / 1.214 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.4827, allocations: 0 / 1.214 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4827, allocations: 0 / 1.214 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.4827, allocations: 0 / 1.214 GB, free: 4.383 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.0008715/0.4836, allocations: 482.7 kB / 1.214 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.4836, allocations: 12.03 kB / 1.214 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.485, allocations: 172 kB / 1.215 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.4854, allocations: 312.1 kB / 1.215 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/0.4855, allocations: 162.5 kB / 1.215 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.4856, allocations: 154.6 kB / 1.215 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.366e-05/0.4857, allocations: 101 kB / 1.215 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.35e-05/0.4857, allocations: 79.28 kB / 1.215 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.4858, allocations: 154.5 kB / 1.216 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.161e-05/0.4859, allocations: 150.6 kB / 1.216 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.955e-05/0.4859, allocations: 150.6 kB / 1.216 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.4863, allocations: 0.5249 MB / 1.216 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.207e-05/0.4864, allocations: 165.1 kB / 1.217 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.4864, allocations: 80.14 kB / 1.217 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.4865, allocations: 87.22 kB / 1.217 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.4865, allocations: 113.8 kB / 1.217 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.4865, allocations: 0 / 1.217 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0003186/0.4869, allocations: 65.61 kB / 1.217 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.4869, allocations: 126.7 kB / 1.217 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.4872, allocations: 211.2 kB / 1.217 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.4873, allocations: 33.7 kB / 1.217 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.4873, allocations: 108 kB / 1.217 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.4873, allocations: 0 / 1.217 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.4874, allocations: 17.72 kB / 1.217 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4875, allocations: 326.8 kB / 1.218 GB, free: 448 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.047e-05/0.4876, allocations: 16.86 kB / 1.218 GB, free: 428 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.108e-05/0.4876, allocations: 23.92 kB / 1.218 GB, free: 404 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.009e-05/0.4877, allocations: 32.8 kB / 1.218 GB, free: 368 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4877, allocations: 0 / 1.218 GB, free: 368 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006586/0.4884, allocations: 134.4 kB / 1.218 GB, free: 224 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.4884, allocations: 11.94 kB / 1.218 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4884, allocations: 0 / 1.218 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000881/0.4893, allocations: 144.7 kB / 1.218 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.4894, allocations: 7.984 kB / 1.218 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.4917, allocations: 1.608 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.4919, allocations: 16.02 kB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.4919, allocations: 4 kB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.895e-05/0.492, allocations: 104.1 kB / 1.22 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.361e-05/0.4921, allocations: 15.98 kB / 1.22 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.996e-05/0.4921, allocations: 28.8 kB / 1.22 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.293e-06/0.4921, allocations: 0 / 1.22 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002515/0.4924, allocations: 106.4 kB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4924, allocations: 5.406 kB / 1.22 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-06/0.4924, allocations: 0 / 1.22 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004107/0.4929, allocations: 112.7 kB / 1.22 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.745e-05/0.4929, allocations: 11.88 kB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.4941, allocations: 1.457 MB / 1.221 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.4943, allocations: 8.094 kB / 1.221 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.4943, allocations: 3.984 kB / 1.221 GB, free: 12.27 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.0001169/0.4944, allocations: 259.5 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.4945, allocations: 108.9 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.4946, allocations: 117.5 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.178e-05/0.4946, allocations: 184.2 kB / 1.222 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.518e-05/0.4947, allocations: 184.3 kB / 1.222 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.146e-05/0.4948, allocations: 180.2 kB / 1.222 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.495, allocations: 441.2 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-05/0.4951, allocations: 105.3 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.4951, allocations: 112.9 kB / 1.223 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.587e-05/0.4952, allocations: 188.2 kB / 1.223 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.61e-05/0.4953, allocations: 184.1 kB / 1.223 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.23e-05/0.4954, allocations: 180.3 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-05/0.4954, allocations: 180.3 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.4956, allocations: 323.6 kB / 1.224 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.4957, allocations: 197.9 kB / 1.224 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.412e-05/0.4958, allocations: 180.2 kB / 1.224 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.496, allocations: 113 kB / 1.224 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.4961, allocations: 180.2 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.4961, allocations: 101 kB / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001984/0.4963, allocations: 173.1 kB / 1.225 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4963, allocations: 3.938 kB / 1.225 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004461/0.4968, allocations: 64 kB / 1.225 GB, free: 8.379 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.0002952/0.4971, allocations: 202.5 kB / 1.225 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005777/0.4977, allocations: 305.3 kB / 1.225 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4977, allocations: 0 / 1.225 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.919e-06/0.4977, allocations: 0 / 1.225 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.4982, allocations: 485.8 kB / 1.226 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.4986, allocations: 317.4 kB / 1.226 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.4988, allocations: 0.6967 MB / 1.227 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.805e-05/0.4989, allocations: 16.55 kB / 1.227 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.499, allocations: 11.44 kB / 1.227 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.499, allocations: 4 kB / 1.227 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of Templates: time 0.006355/0.5053, allocations: 3.052 MB / 1.23 GB, free: 3.266 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)