Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",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.001214/0.001215, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009717/0.009717, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.291/1.291, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.533/2.533, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003927, allocations: 18.25 kB / 0.9029 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2691, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002666/0.2718, allocations: 2.572 MB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002554/0.2744, allocations: 2.173 MB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.2745, allocations: 4 kB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006297/0.2751, allocations: 263.1 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.2753, allocations: 59.42 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008236/0.2761, allocations: 448.4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004429/0.2766, allocations: 494.4 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2767, allocations: 48.72 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.2768, allocations: 183.5 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.2771, allocations: 199.3 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.2771, allocations: 24 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.2774, allocations: 235.6 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.2776, allocations: 143.6 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.2778, allocations: 228.6 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005949/0.2784, allocations: 0.7126 MB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2784, allocations: 0 / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.855e-06/0.2784, allocations: 0 / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.2784, allocations: 7.938 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001083/0.2795, allocations: 0.7663 MB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2795, allocations: 12.03 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.645e-05/0.2796, allocations: 42.75 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.2817, allocations: 244.1 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/0.2821, allocations: 426 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-05/0.2822, allocations: 87.94 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/0.2823, allocations: 8.375 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.2835, allocations: 0.5612 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2835, allocations: 4 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.2836, allocations: 7.984 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2836, allocations: 4 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.2856, allocations: 0.8157 MB / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.2876, allocations: 1.281 MB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005236/0.2928, allocations: 1.095 MB / 1.072 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009743/0.2938, allocations: 432.6 kB / 1.072 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.2939, allocations: 0 / 1.072 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/0.295, allocations: 0.5575 MB / 1.073 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.2951, allocations: 0 / 1.073 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.003059/0.2981, allocations: 1.264 MB / 1.074 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.2982, allocations: 55.41 kB / 1.074 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/0.2987, allocations: 0.5213 MB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.2987, allocations: 33.7 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.2989, allocations: 200.4 kB / 1.075 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.932e-05/0.299, allocations: 63.11 kB / 1.075 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.299, allocations: 29.7 kB / 1.075 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2991, allocations: 358.8 kB / 1.075 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.3002, allocations: 488.5 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.3013, allocations: 0.5265 MB / 1.076 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.3032, allocations: 0.808 MB / 1.077 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3032, allocations: 0 / 1.077 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002309/0.3055, allocations: 1.138 MB / 1.078 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.3056, allocations: 41.69 kB / 1.078 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3056, allocations: 0 / 1.078 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3056, allocations: 7.938 kB / 1.078 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/0.3062, allocations: 103.9 kB / 1.078 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.3062, allocations: 3.984 kB / 1.078 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000514/0.3067, allocations: 79.8 kB / 1.078 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.3068, allocations: 15.98 kB / 1.078 GB, free: 0.7734 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.0002224/0.307, allocations: 213.1 kB / 1.078 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.994e-05/0.3071, allocations: 43.44 kB / 1.078 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.335e-05/0.3072, allocations: 63.84 kB / 1.078 GB, free: 460 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3072, allocations: 7.984 kB / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3072, allocations: 0 / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.3072, allocations: 0 / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/0.3078, allocations: 0.6377 MB / 1.079 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3078, allocations: 0 / 1.079 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.3084, allocations: 103.8 kB / 1.079 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3084, allocations: 4 kB / 1.079 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.3085, allocations: 19.91 kB / 1.079 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3085, allocations: 0 / 1.079 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3085, allocations: 4 kB / 1.079 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.3105, allocations: 0.8828 MB / 1.08 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.3107, allocations: 180.6 kB / 1.08 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.3108, allocations: 19.86 kB / 1.08 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005682/0.3114, allocations: 83.92 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.802e-05/0.3115, allocations: 23.95 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.3115, allocations: 15.98 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003636/0.3119, allocations: 387 kB / 1.081 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3119, allocations: 0 / 1.081 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003525/0.3122, allocations: 103.9 kB / 1.081 GB, free: 13.91 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002425/0.3147, allocations: 1.473 MB / 1.082 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002163/0.3169, allocations: 0.9908 MB / 1.083 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3169, allocations: 0 / 1.083 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.3179, allocations: 449.9 kB / 1.084 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.3184, allocations: 89.84 kB / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.3297, allocations: 7.626 MB / 1.091 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.3301, allocations: 0.8583 MB / 1.092 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004791/0.3306, allocations: 130.9 kB / 1.092 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.3308, allocations: 131.4 kB / 1.092 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.3308, allocations: 3.938 kB / 1.092 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.471/5.802, allocations: 12.36 MB / 1.104 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/5.802, allocations: 238.5 kB / 1.105 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.289/10.09, allocations: 2.672 kB / 1.105 GB, free: 5.711 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)