Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_11_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.001399/0.001399, allocations: 108 kB / 15.6 MB, free: 132 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.001311/0.001311, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.468/2.468, allocations: 469.8 MB / 0.7424 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 69.86 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2416, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002718/0.2443, allocations: 1.695 MB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1441/0.3884, allocations: 148.4 MB / 1.211 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.469e-05/0.3885, allocations: 0 / 1.211 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.3887, allocations: 51.61 kB / 1.211 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.3897, allocations: 442 kB / 1.211 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.3899, allocations: 59.81 kB / 1.211 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.39, allocations: 151.3 kB / 1.211 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.3901, allocations: 9.406 kB / 1.211 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.718e-05/0.3902, allocations: 51.83 kB / 1.211 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.3903, allocations: 63.77 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.3903, allocations: 12 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008538/0.3912, allocations: 0.5067 MB / 1.212 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.3912, allocations: 19.92 kB / 1.212 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.3913, allocations: 59.66 kB / 1.212 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005263/0.3918, allocations: 371.1 kB / 1.212 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3918, allocations: 0 / 1.212 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3918, allocations: 4 kB / 1.212 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.3919, allocations: 0 / 1.212 GB, free: 5.668 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.0006189/0.3925, allocations: 478.7 kB / 1.213 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.3925, allocations: 12.03 kB / 1.213 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/0.3926, allocations: 106 kB / 1.213 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.3936, allocations: 176 kB / 1.213 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.3939, allocations: 319.8 kB / 1.213 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.058e-05/0.394, allocations: 154.6 kB / 1.214 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.3941, allocations: 158.5 kB / 1.214 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.426e-05/0.3942, allocations: 105 kB / 1.214 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.3942, allocations: 79.28 kB / 1.214 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.3942, allocations: 150.6 kB / 1.214 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.287e-05/0.3943, allocations: 150.6 kB / 1.214 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.49e-05/0.3944, allocations: 158.4 kB / 1.214 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.3947, allocations: 0.5212 MB / 1.215 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.401e-05/0.3948, allocations: 165.1 kB / 1.215 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.3948, allocations: 80.14 kB / 1.215 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.3949, allocations: 79.28 kB / 1.215 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.3949, allocations: 125.8 kB / 1.215 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3949, allocations: 3.938 kB / 1.215 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0002608/0.3952, allocations: 53.59 kB / 1.215 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.3953, allocations: 130.7 kB / 1.215 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.3956, allocations: 211.2 kB / 1.216 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3956, allocations: 29.7 kB / 1.216 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.3956, allocations: 100.1 kB / 1.216 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.3957, allocations: 4 kB / 1.216 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.3957, allocations: 25.61 kB / 1.216 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.3958, allocations: 326.8 kB / 1.216 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.541e-05/0.3959, allocations: 20.86 kB / 1.216 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.688e-05/0.3959, allocations: 19.98 kB / 1.216 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.379e-05/0.396, allocations: 28.8 kB / 1.216 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.396, allocations: 4 kB / 1.216 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000543/0.3965, allocations: 126.4 kB / 1.216 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3966, allocations: 8 kB / 1.216 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3966, allocations: 3.984 kB / 1.216 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006819/0.3973, allocations: 148.6 kB / 1.217 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.481e-05/0.3973, allocations: 4 kB / 1.217 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03096/0.4283, allocations: 1.605 MB / 1.218 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.4285, allocations: 12.03 kB / 1.218 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.4285, allocations: 7.984 kB / 1.218 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001012/0.4286, allocations: 100.1 kB / 1.218 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.931e-05/0.4287, allocations: 16 kB / 1.218 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.152e-05/0.4287, allocations: 28.84 kB / 1.218 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/0.4287, allocations: 0 / 1.218 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002162/0.429, allocations: 106.3 kB / 1.218 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.429, allocations: 8 kB / 1.218 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.429, allocations: 0 / 1.218 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000332/0.4293, allocations: 112.6 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.732e-05/0.4294, allocations: 4 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.4305, allocations: 1.457 MB / 1.22 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.4307, allocations: 19.94 kB / 1.22 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.4307, allocations: 0 / 1.22 GB, free: 13.45 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.0001157/0.4308, allocations: 259.5 kB / 1.22 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-05/0.4309, allocations: 116.8 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.223e-05/0.4309, allocations: 113.5 kB / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.459e-05/0.431, allocations: 180.2 kB / 1.221 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.286e-05/0.4311, allocations: 188.2 kB / 1.221 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.43e-05/0.4311, allocations: 180.3 kB / 1.221 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.4314, allocations: 445.1 kB / 1.221 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-05/0.4314, allocations: 105.2 kB / 1.221 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.4315, allocations: 108.9 kB / 1.222 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.656e-05/0.4316, allocations: 188.2 kB / 1.222 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.031e-05/0.4316, allocations: 188.2 kB / 1.222 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.854e-05/0.4317, allocations: 180.3 kB / 1.222 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001008/0.4318, allocations: 180.2 kB / 1.222 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.432, allocations: 315.7 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.4321, allocations: 205.8 kB / 1.223 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.603e-05/0.4322, allocations: 180.2 kB / 1.223 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.4324, allocations: 105 kB / 1.223 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.4324, allocations: 188.2 kB / 1.223 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/0.4325, allocations: 101 kB / 1.223 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001908/0.4327, allocations: 169.1 kB / 1.223 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4327, allocations: 0 / 1.223 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003625/0.4331, allocations: 63.98 kB / 1.223 GB, free: 9.551 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.0004986/0.4336, allocations: 0.8596 MB / 1.224 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004891/0.4341, allocations: 297.3 kB / 1.225 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4341, allocations: 0 / 1.225 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.908e-06/0.4341, allocations: 7.875 kB / 1.225 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.4345, allocations: 484.9 kB / 1.225 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.4372, allocations: 2.073 MB / 1.227 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.4375, allocations: 0.6967 MB / 1.228 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.729e-05/0.4376, allocations: 12.55 kB / 1.228 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/0.4377, allocations: 23.44 kB / 1.228 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.4377, allocations: 0 / 1.228 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.236/1.674, allocations: 4.67 MB / 1.232 GB, free: 456 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.1/20.78, allocations: 9.438 kB / 1.232 GB, free: 448 kB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1)