Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.963/2.963, allocations: 0.49 GB / 0.7923 GB, free: 1.441 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 72.08 kB / 1.15 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8936/0.8955, allocations: 176.1 MB / 1.322 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003587/0.8991, allocations: 2.912 MB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002626/0.9018, allocations: 2.273 MB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.9019, allocations: 2.438 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006885/0.9026, allocations: 258.6 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.9027, allocations: 76.61 kB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.9038, allocations: 499.1 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005607/0.9043, allocations: 0.5161 MB / 1.328 GB, free: 20.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.9044, allocations: 34.36 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.9047, allocations: 198.9 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.9049, allocations: 221.2 kB / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.197e-05/0.905, allocations: 40.88 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004209/0.9054, allocations: 254.8 kB / 1.329 GB, free: 20.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.9056, allocations: 158 kB / 1.329 GB, free: 20.14 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.9058, allocations: 216.4 kB / 1.329 GB, free: 20 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.9068, allocations: 0.7616 MB / 1.33 GB, free: 19.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9068, allocations: 0.5 kB / 1.33 GB, free: 19.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9068, allocations: 0.5 kB / 1.33 GB, free: 19.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.9068, allocations: 0 / 1.33 GB, free: 19.75 MB / 1.061 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.001488/0.9083, allocations: 0.847 MB / 1.331 GB, free: 19.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.9084, allocations: 13.58 kB / 1.331 GB, free: 19.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.397e-05/0.9084, allocations: 2.469 kB / 1.331 GB, free: 19.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.043e-05/0.9084, allocations: 46.06 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.9107, allocations: 235.6 kB / 1.331 GB, free: 19 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.9112, allocations: 429.3 kB / 1.331 GB, free: 18.67 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.9113, allocations: 92.78 kB / 1.331 GB, free: 18.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.9114, allocations: 16.06 kB / 1.331 GB, free: 18.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.9127, allocations: 0.5335 MB / 1.332 GB, free: 18.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.9127, allocations: 0 / 1.332 GB, free: 18.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/0.9128, allocations: 1.609 kB / 1.332 GB, free: 18.43 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.9128, allocations: 2.875 kB / 1.332 GB, free: 18.43 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.9151, allocations: 0.761 MB / 1.333 GB, free: 18.24 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.9176, allocations: 1.268 MB / 1.334 GB, free: 17.62 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005928/0.9235, allocations: 1.006 MB / 1.335 GB, free: 17.4 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.9245, allocations: 382.6 kB / 1.335 GB, free: 17.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.9246, allocations: 10.03 kB / 1.335 GB, free: 17.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/0.9258, allocations: 0.5228 MB / 1.336 GB, free: 17.13 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 2.255e-06/0.9258, allocations: 0 / 1.336 GB, free: 17.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.00338/0.9292, allocations: 1.188 MB / 1.337 GB, free: 16.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.9293, allocations: 55.17 kB / 1.337 GB, free: 16.72 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006433/0.9299, allocations: 0.5186 MB / 1.337 GB, free: 16.49 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.683e-05/0.93, allocations: 34.66 kB / 1.337 GB, free: 16.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.9301, allocations: 202.9 kB / 1.338 GB, free: 16.29 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.921e-05/0.9302, allocations: 78.33 kB / 1.338 GB, free: 16.23 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.9304, allocations: 65.84 kB / 1.338 GB, free: 16.2 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.102e-05/0.9305, allocations: 356.7 kB / 1.338 GB, free: 15.87 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.9316, allocations: 465.2 kB / 1.339 GB, free: 15.74 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.9328, allocations: 0.5006 MB / 1.339 GB, free: 15.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/0.9348, allocations: 0.7572 MB / 1.34 GB, free: 15.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.9348, allocations: 0 / 1.34 GB, free: 15.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002653/0.9375, allocations: 1.074 MB / 1.341 GB, free: 15.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/0.9375, allocations: 47.3 kB / 1.341 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.9375, allocations: 0 / 1.341 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.9375, allocations: 1.344 kB / 1.341 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006577/0.9382, allocations: 92.55 kB / 1.341 GB, free: 14.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.9382, allocations: 0.8125 kB / 1.341 GB, free: 14.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006263/0.9388, allocations: 62.3 kB / 1.341 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.355e-05/0.9389, allocations: 18.98 kB / 1.341 GB, free: 14.97 MB / 1.061 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.0003754/0.9393, allocations: 214.6 kB / 1.341 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.9394, allocations: 48.52 kB / 1.341 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.627e-05/0.9395, allocations: 48.34 kB / 1.341 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.9395, allocations: 2.062 kB / 1.341 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.9395, allocations: 1.281 kB / 1.341 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.9395, allocations: 5.594 kB / 1.341 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006913/0.9402, allocations: 0.6394 MB / 1.342 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.9402, allocations: 0 / 1.342 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006342/0.9408, allocations: 99.14 kB / 1.342 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.9408, allocations: 9.344 kB / 1.342 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-05/0.9409, allocations: 8.344 kB / 1.342 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.9409, allocations: 6.047 kB / 1.342 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.9409, allocations: 0 / 1.342 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.9431, allocations: 0.8334 MB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.9434, allocations: 200 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.652e-05/0.9434, allocations: 9.734 kB / 1.343 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005884/0.944, allocations: 63.77 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.9441, allocations: 21.8 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.9442, allocations: 12.36 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00045/0.9446, allocations: 389.4 kB / 1.344 GB, free: 13.76 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.9446, allocations: 4 kB / 1.344 GB, free: 13.76 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005006/0.9451, allocations: 101.8 kB / 1.344 GB, free: 13.75 MB / 1.061 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.002627/0.9477, allocations: 1.419 MB / 1.345 GB, free: 12.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002505/0.9502, allocations: 0.9212 MB / 1.346 GB, free: 12.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.9502, allocations: 0 / 1.346 GB, free: 12.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.9514, allocations: 416.3 kB / 1.346 GB, free: 12.54 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.952, allocations: 91.25 kB / 1.346 GB, free: 12.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/0.965, allocations: 7.311 MB / 1.354 GB, free: 9.438 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.9653, allocations: 0.8531 MB / 1.354 GB, free: 8.715 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005083/0.9658, allocations: 132.1 kB / 1.355 GB, free: 8.672 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.9661, allocations: 135.8 kB / 1.355 GB, free: 8.578 MB / 1.061 GB Notification: Performance of SimCode: time 8.02e-07/0.9661, allocations: 4 kB / 1.355 GB, free: 8.574 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04046/1.007, allocations: 13.39 MB / 1.368 GB, free: 7.277 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.97/9.977, allocations: 8.281 kB / 1.368 GB, free: 7.273 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.384936932998244] Failed to read output from testmodel.py, exit status != 0: 10.114445040991995 10.135779754 9.225122458 Calling exit ...