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.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.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.001504/0.001504, 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.001697/0.001697, allocations: 196.1 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.472/2.472, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 65.56 kB / 0.8992 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2273, allocations: 157.4 MB / 1.053 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003832/0.2312, allocations: 2.904 MB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002572/0.2337, allocations: 2.223 MB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.557e-05/0.2338, allocations: 4 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006087/0.2345, allocations: 258.8 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.2346, allocations: 87.22 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008924/0.2355, allocations: 481.7 kB / 1.059 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.236, allocations: 0.5064 MB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.2361, allocations: 52.7 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.2363, allocations: 199.4 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.2365, allocations: 215.3 kB / 1.06 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.267e-05/0.2366, allocations: 36 kB / 1.06 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003371/0.2369, allocations: 247.7 kB / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.237, allocations: 155.6 kB / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.2372, allocations: 210.9 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000612/0.2378, allocations: 0.7479 MB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2379, allocations: 3.938 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2379, allocations: 0 / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.2379, allocations: 0 / 1.061 GB, free: 15.91 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.001178/0.2391, allocations: 0.8438 MB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2391, allocations: 8.625 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.426e-05/0.2392, allocations: 46.73 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.2412, allocations: 224.2 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.2417, allocations: 433.8 kB / 1.063 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.69e-05/0.2418, allocations: 83.94 kB / 1.063 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.2418, allocations: 12.38 kB / 1.063 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.243, allocations: 0.5299 MB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.243, allocations: 0 / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.2431, allocations: 4 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.2431, allocations: 8 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.245, allocations: 0.7533 MB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.247, allocations: 1.269 MB / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005099/0.2521, allocations: 1.017 MB / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009358/0.2531, allocations: 400.6 kB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.2531, allocations: 0 / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/0.2543, allocations: 0.5379 MB / 1.067 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 1.753e-06/0.2543, allocations: 0 / 1.067 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.003039/0.2573, allocations: 1.178 MB / 1.068 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.2574, allocations: 59.41 kB / 1.068 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005029/0.2579, allocations: 0.5175 MB / 1.069 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/0.2579, allocations: 33.7 kB / 1.069 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.2581, allocations: 196.5 kB / 1.069 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.891e-05/0.2582, allocations: 71 kB / 1.069 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.2583, allocations: 61.67 kB / 1.069 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2584, allocations: 354.8 kB / 1.069 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.2595, allocations: 472.5 kB / 1.07 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.2605, allocations: 0.4988 MB / 1.07 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/0.2624, allocations: 0.7546 MB / 1.071 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2624, allocations: 4 kB / 1.071 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002247/0.2646, allocations: 1.065 MB / 1.072 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.2647, allocations: 45.7 kB / 1.072 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2647, allocations: 11.92 kB / 1.072 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2647, allocations: 0 / 1.072 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/0.2653, allocations: 95.77 kB / 1.072 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2653, allocations: 0 / 1.072 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.2658, allocations: 59.78 kB / 1.072 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.2659, allocations: 27.97 kB / 1.072 GB, free: 4.004 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.0002183/0.2661, allocations: 205.8 kB / 1.073 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.2662, allocations: 43.44 kB / 1.073 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.375e-05/0.2663, allocations: 63.78 kB / 1.073 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2663, allocations: 4 kB / 1.073 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2663, allocations: 0 / 1.073 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.2663, allocations: 3.984 kB / 1.073 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/0.2668, allocations: 0.6338 MB / 1.073 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2669, allocations: 0 / 1.073 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005833/0.2674, allocations: 91.89 kB / 1.073 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2675, allocations: 3.938 kB / 1.073 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.2675, allocations: 7.984 kB / 1.073 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.2675, allocations: 4 kB / 1.073 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2675, allocations: 4 kB / 1.073 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.2695, allocations: 0.834 MB / 1.074 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.2697, allocations: 188.5 kB / 1.074 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.2698, allocations: 11.94 kB / 1.074 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005314/0.2703, allocations: 71.84 kB / 1.074 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.2704, allocations: 19.97 kB / 1.074 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.2705, allocations: 11.98 kB / 1.074 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003482/0.2708, allocations: 387.1 kB / 1.075 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2708, allocations: 0 / 1.075 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003503/0.2712, allocations: 107.9 kB / 1.075 GB, free: 1.234 MB / 0.8262 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.002349/0.2735, allocations: 1.424 MB / 1.076 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002111/0.2757, allocations: 0.9556 MB / 1.077 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2757, allocations: 0 / 1.077 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009883/0.2767, allocations: 423.6 kB / 1.078 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.2771, allocations: 100.2 kB / 1.078 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.288, allocations: 7.397 MB / 1.085 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.2884, allocations: 0.858 MB / 1.086 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000474/0.2888, allocations: 126.9 kB / 1.086 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.2891, allocations: 135.4 kB / 1.086 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.2891, allocations: 4 kB / 1.086 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.173/2.462, allocations: 13.16 MB / 1.099 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/12.52, allocations: 10.28 kB / 1.099 GB, free: 8.766 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)