Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006446/0.006446, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.002001/0.002002, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.488/2.488, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 67.89 kB / 1.054 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7913/0.7936, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002878/0.7966, allocations: 1.692 MB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1476/0.9442, allocations: 148.4 MB / 1.354 GB, free: 6.848 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.9444, allocations: 0 / 1.354 GB, free: 6.848 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.9446, allocations: 39.75 kB / 1.354 GB, free: 6.809 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.9459, allocations: 441.9 kB / 1.354 GB, free: 6.375 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.946, allocations: 63.86 kB / 1.354 GB, free: 6.312 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.9463, allocations: 147.3 kB / 1.355 GB, free: 6.168 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.9463, allocations: 13.39 kB / 1.355 GB, free: 6.152 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.382e-05/0.9464, allocations: 47.84 kB / 1.355 GB, free: 6.105 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.9466, allocations: 75.69 kB / 1.355 GB, free: 6.031 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.9466, allocations: 8 kB / 1.355 GB, free: 6.023 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008868/0.9475, allocations: 0.5028 MB / 1.355 GB, free: 5.52 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.61e-05/0.9475, allocations: 23.92 kB / 1.355 GB, free: 5.496 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.785e-05/0.9476, allocations: 55.72 kB / 1.355 GB, free: 5.441 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006456/0.9483, allocations: 375.1 kB / 1.356 GB, free: 5.074 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9483, allocations: 0 / 1.356 GB, free: 5.074 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.595e-06/0.9483, allocations: 4 kB / 1.356 GB, free: 5.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.9483, allocations: 7.984 kB / 1.356 GB, free: 5.062 MB / 1.076 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.0008021/0.9491, allocations: 478.7 kB / 1.356 GB, free: 4.547 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.9492, allocations: 8.031 kB / 1.356 GB, free: 4.539 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.739e-05/0.9492, allocations: 110 kB / 1.356 GB, free: 4.422 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.9504, allocations: 176 kB / 1.356 GB, free: 4.25 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.9507, allocations: 315.9 kB / 1.357 GB, free: 3.902 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.254e-05/0.9508, allocations: 150.6 kB / 1.357 GB, free: 3.754 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/0.9508, allocations: 162.5 kB / 1.357 GB, free: 3.594 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.65e-05/0.9509, allocations: 101 kB / 1.357 GB, free: 3.488 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.9509, allocations: 79.27 kB / 1.357 GB, free: 3.41 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.111e-05/0.951, allocations: 154.6 kB / 1.357 GB, free: 3.258 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.7e-05/0.951, allocations: 154.5 kB / 1.357 GB, free: 3.105 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.965e-05/0.9511, allocations: 150.6 kB / 1.358 GB, free: 2.957 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.9515, allocations: 0.5134 MB / 1.358 GB, free: 2.395 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.534e-05/0.9515, allocations: 173.1 kB / 1.358 GB, free: 2.215 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/0.9516, allocations: 80.14 kB / 1.358 GB, free: 2.133 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.9516, allocations: 75.28 kB / 1.358 GB, free: 2.059 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.9517, allocations: 109.8 kB / 1.359 GB, free: 1.941 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.9517, allocations: 0 / 1.359 GB, free: 1.941 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0002892/0.952, allocations: 61.53 kB / 1.359 GB, free: 1.875 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.952, allocations: 126.7 kB / 1.359 GB, free: 1.738 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.9523, allocations: 223.1 kB / 1.359 GB, free: 1.508 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.9523, allocations: 29.7 kB / 1.359 GB, free: 1.473 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.9524, allocations: 112 kB / 1.359 GB, free: 1.359 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.9524, allocations: 3.938 kB / 1.359 GB, free: 1.355 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.9525, allocations: 25.7 kB / 1.359 GB, free: 1.324 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.9526, allocations: 322.8 kB / 1.359 GB, free: 1 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-05/0.9526, allocations: 20.86 kB / 1.359 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.249e-05/0.9527, allocations: 19.98 kB / 1.359 GB, free: 0.957 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.669e-05/0.9527, allocations: 28.86 kB / 1.359 GB, free: 0.9258 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9528, allocations: 4 kB / 1.359 GB, free: 0.9219 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005963/0.9534, allocations: 130.3 kB / 1.36 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.9534, allocations: 4 kB / 1.36 GB, free: 0.7812 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.9534, allocations: 0 / 1.36 GB, free: 0.7812 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000748/0.9542, allocations: 148.6 kB / 1.36 GB, free: 0.6328 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.9542, allocations: 4 kB / 1.36 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.9562, allocations: 1.627 MB / 1.361 GB, free: 14.86 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.9564, allocations: 4 kB / 1.361 GB, free: 14.85 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.9564, allocations: 8.062 kB / 1.361 GB, free: 14.84 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.963e-05/0.9565, allocations: 100.1 kB / 1.361 GB, free: 14.74 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.968e-05/0.9566, allocations: 12 kB / 1.361 GB, free: 14.73 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.781e-05/0.9566, allocations: 32.84 kB / 1.361 GB, free: 14.7 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.91e-07/0.9566, allocations: 0 / 1.361 GB, free: 14.7 MB / 1.092 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002295/0.9569, allocations: 102.3 kB / 1.362 GB, free: 14.59 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.9569, allocations: 8 kB / 1.362 GB, free: 14.58 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-06/0.9569, allocations: 0 / 1.362 GB, free: 14.58 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003552/0.9572, allocations: 116.7 kB / 1.362 GB, free: 14.46 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.945e-05/0.9573, allocations: 4 kB / 1.362 GB, free: 14.46 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.9584, allocations: 1.461 MB / 1.363 GB, free: 12.86 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.9586, allocations: 8.031 kB / 1.363 GB, free: 12.85 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.9586, allocations: 144 / 1.363 GB, free: 12.85 MB / 1.092 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.0001115/0.9587, allocations: 259.6 kB / 1.363 GB, free: 12.59 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.9588, allocations: 124.8 kB / 1.363 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.9589, allocations: 113.5 kB / 1.364 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.787e-05/0.9589, allocations: 180.3 kB / 1.364 GB, free: 12.16 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.194e-05/0.959, allocations: 180.2 kB / 1.364 GB, free: 11.98 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.464e-05/0.9591, allocations: 180.2 kB / 1.364 GB, free: 11.79 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.9593, allocations: 449.2 kB / 1.365 GB, free: 11.3 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-05/0.9593, allocations: 108.9 kB / 1.365 GB, free: 11.18 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.909e-05/0.9594, allocations: 101 kB / 1.365 GB, free: 11.08 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-05/0.9594, allocations: 184.1 kB / 1.365 GB, free: 10.89 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.398e-05/0.9595, allocations: 180.3 kB / 1.365 GB, free: 10.71 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.652e-05/0.9596, allocations: 180.2 kB / 1.365 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.334e-05/0.9596, allocations: 188.2 kB / 1.365 GB, free: 10.33 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.9598, allocations: 315.6 kB / 1.366 GB, free: 10 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.9599, allocations: 202 kB / 1.366 GB, free: 9.777 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.098e-05/0.96, allocations: 184.1 kB / 1.366 GB, free: 9.59 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.9601, allocations: 112.9 kB / 1.366 GB, free: 9.473 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.9602, allocations: 176.3 kB / 1.366 GB, free: 9.293 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.9602, allocations: 112.9 kB / 1.366 GB, free: 9.176 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001907/0.9604, allocations: 157.2 kB / 1.367 GB, free: 9.023 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9604, allocations: 0 / 1.367 GB, free: 9.023 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000417/0.9609, allocations: 71.98 kB / 1.367 GB, free: 8.953 MB / 1.092 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.0006198/0.9615, allocations: 0.8516 MB / 1.368 GB, free: 8.074 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005486/0.9621, allocations: 309.2 kB / 1.368 GB, free: 7.746 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9621, allocations: 0 / 1.368 GB, free: 7.746 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-06/0.9621, allocations: 0 / 1.368 GB, free: 7.746 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.9625, allocations: 486.1 kB / 1.368 GB, free: 7.27 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.9654, allocations: 2.069 MB / 1.37 GB, free: 5.117 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.9657, allocations: 0.6967 MB / 1.371 GB, free: 4.395 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 8.607e-05/0.9658, allocations: 12.69 kB / 1.371 GB, free: 4.383 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.9659, allocations: 35.36 kB / 1.371 GB, free: 4.348 MB / 1.092 GB Notification: Performance of SimCode: time 4.81e-07/0.9659, allocations: 0 / 1.371 GB, free: 4.348 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.9931, allocations: 4.801 MB / 1.376 GB, free: 15.73 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.49, allocations: 5.562 kB / 1.376 GB, free: 15.73 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1)