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.001178/0.001179, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.6/2.6, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 65.48 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2413, allocations: 157.4 MB / 1.053 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002908/0.2442, allocations: 1.685 MB / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1422/0.3865, allocations: 148.4 MB / 1.2 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.785e-05/0.3866, allocations: 0 / 1.2 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.3868, allocations: 51.61 kB / 1.2 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.388, allocations: 438 kB / 1.2 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.3881, allocations: 59.88 kB / 1.2 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.3883, allocations: 147.3 kB / 1.2 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.3883, allocations: 9.406 kB / 1.2 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.929e-05/0.3884, allocations: 51.83 kB / 1.2 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.3885, allocations: 63.7 kB / 1.2 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.3886, allocations: 8 kB / 1.2 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008791/0.3895, allocations: 0.5145 MB / 1.201 GB, free: 172 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.3895, allocations: 19.92 kB / 1.201 GB, free: 152 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.013e-05/0.3896, allocations: 51.73 kB / 1.201 GB, free: 100 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005642/0.3901, allocations: 371.1 kB / 1.201 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3902, allocations: 8 kB / 1.201 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3902, allocations: 0 / 1.201 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3902, allocations: 0 / 1.201 GB, free: 15.73 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.0007117/0.3909, allocations: 478.7 kB / 1.202 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.391, allocations: 12.62 kB / 1.202 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.391, allocations: 106 kB / 1.202 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.3922, allocations: 172 kB / 1.202 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.3926, allocations: 323.9 kB / 1.202 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.3926, allocations: 150.6 kB / 1.202 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-05/0.3927, allocations: 158.5 kB / 1.203 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.508e-05/0.3927, allocations: 101 kB / 1.203 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.3928, allocations: 75.28 kB / 1.203 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.3928, allocations: 158.5 kB / 1.203 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.752e-05/0.3929, allocations: 150.6 kB / 1.203 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.778e-05/0.3929, allocations: 162.5 kB / 1.203 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.3933, allocations: 0.5096 MB / 1.204 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.076e-05/0.3934, allocations: 181.1 kB / 1.204 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.3934, allocations: 84.12 kB / 1.204 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.3934, allocations: 75.28 kB / 1.204 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.3935, allocations: 105.8 kB / 1.204 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3935, allocations: 0 / 1.204 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0002938/0.3938, allocations: 65.44 kB / 1.204 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.3939, allocations: 130.7 kB / 1.204 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.3942, allocations: 219.1 kB / 1.205 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3942, allocations: 25.7 kB / 1.205 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.3942, allocations: 100.1 kB / 1.205 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.3943, allocations: 0 / 1.205 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.3943, allocations: 29.7 kB / 1.205 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3944, allocations: 330.7 kB / 1.205 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.419e-05/0.3945, allocations: 24.86 kB / 1.205 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.683e-05/0.3945, allocations: 12 kB / 1.205 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.492e-05/0.3946, allocations: 28.84 kB / 1.205 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3946, allocations: 0 / 1.205 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006204/0.3952, allocations: 142.2 kB / 1.205 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3952, allocations: 4 kB / 1.205 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3953, allocations: 0 / 1.205 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008149/0.3961, allocations: 152.6 kB / 1.205 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/0.3962, allocations: 4 kB / 1.205 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.3981, allocations: 1.611 MB / 1.207 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.3983, allocations: 11.84 kB / 1.207 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.3983, allocations: 4 kB / 1.207 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.564e-05/0.3984, allocations: 100.1 kB / 1.207 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.045e-05/0.3984, allocations: 12 kB / 1.207 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.415e-05/0.3984, allocations: 28.86 kB / 1.207 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.81e-07/0.3984, allocations: 0 / 1.207 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002415/0.3987, allocations: 114.3 kB / 1.207 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.084e-06/0.3987, allocations: 7.938 kB / 1.207 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-06/0.3987, allocations: 0 / 1.207 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/0.3991, allocations: 112.7 kB / 1.207 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.399e-05/0.3991, allocations: 7.984 kB / 1.207 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.4003, allocations: 1.454 MB / 1.209 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.4005, allocations: 7.938 kB / 1.209 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.4005, allocations: 0 / 1.209 GB, free: 7.516 MB / 0.9669 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.0001029/0.4006, allocations: 257.6 kB / 1.209 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.871e-05/0.4007, allocations: 121 kB / 1.209 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.4007, allocations: 121.5 kB / 1.209 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.363e-05/0.4008, allocations: 176.3 kB / 1.209 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.635e-05/0.4009, allocations: 184.2 kB / 1.21 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-05/0.4009, allocations: 180.4 kB / 1.21 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.4012, allocations: 461 kB / 1.21 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-05/0.4012, allocations: 101 kB / 1.21 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.4012, allocations: 101 kB / 1.21 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.188e-05/0.4013, allocations: 192.2 kB / 1.211 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.4014, allocations: 176.3 kB / 1.211 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.196e-05/0.4014, allocations: 184.2 kB / 1.211 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.781e-05/0.4015, allocations: 180.3 kB / 1.211 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.4016, allocations: 311.7 kB / 1.211 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.4017, allocations: 201.9 kB / 1.212 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.988e-05/0.4018, allocations: 192.1 kB / 1.212 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.402, allocations: 105 kB / 1.212 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.402, allocations: 176.3 kB / 1.212 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.4021, allocations: 108.9 kB / 1.212 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001976/0.4023, allocations: 161.2 kB / 1.212 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4023, allocations: 0 / 1.212 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004024/0.4027, allocations: 71.94 kB / 1.212 GB, free: 3.617 MB / 0.9669 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.0004898/0.4032, allocations: 0.848 MB / 1.213 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005306/0.4037, allocations: 309.2 kB / 1.213 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4037, allocations: 0 / 1.213 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/0.4037, allocations: 0 / 1.213 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.4042, allocations: 477 kB / 1.214 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.407, allocations: 2.074 MB / 1.216 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.4073, allocations: 0.6967 MB / 1.217 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.176e-05/0.4074, allocations: 16.56 kB / 1.217 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.4075, allocations: 31.42 kB / 1.217 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.4075, allocations: 0 / 1.217 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08303/0.4905, allocations: 4.666 MB / 1.221 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.97, allocations: 3.5 kB / 1.221 GB, free: 10.53 MB / 0.9825 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)