Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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.001366/0.001366, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001534/0.001534, allocations: 211 kB / 20.13 MB, free: 2.969 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.589/1.589, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.074/3.074, allocations: 0.5003 GB / 0.8026 GB, free: 6.699 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",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.002019/0.002019, allocations: 63.91 kB / 1.165 GB, free: 496 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9666/0.9686, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003972/0.9726, allocations: 2.16 MB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002829/0.9754, allocations: 1.899 MB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.9756, allocations: 5.781 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008272/0.9765, allocations: 230.6 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.9766, allocations: 68.78 kB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.9779, allocations: 417.1 kB / 1.345 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005561/0.9784, allocations: 412.3 kB / 1.345 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.9786, allocations: 23.12 kB / 1.345 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.9787, allocations: 164.9 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.979, allocations: 160.9 kB / 1.346 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.368e-05/0.979, allocations: 27.25 kB / 1.346 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000523/0.9796, allocations: 250 kB / 1.346 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.9797, allocations: 117.4 kB / 1.346 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.9799, allocations: 163 kB / 1.346 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009364/0.9809, allocations: 0.5976 MB / 1.347 GB, free: 12.28 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.9809, allocations: 0 / 1.347 GB, free: 12.28 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9809, allocations: 0 / 1.347 GB, free: 12.28 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.629e-05/0.9809, allocations: 0 / 1.347 GB, free: 12.28 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001315/0.9822, allocations: 0.7214 MB / 1.347 GB, free: 11.7 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.9823, allocations: 9.656 kB / 1.347 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.838e-05/0.9823, allocations: 1.438 kB / 1.347 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.9823, allocations: 40.75 kB / 1.347 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.9844, allocations: 183.7 kB / 1.348 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.9849, allocations: 376.2 kB / 1.348 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.985, allocations: 75.16 kB / 1.348 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.165e-05/0.985, allocations: 14.94 kB / 1.348 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.9862, allocations: 452.4 kB / 1.348 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.9862, allocations: 0.6094 kB / 1.348 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.9862, allocations: 5.062 kB / 1.348 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.9863, allocations: 2.562 kB / 1.348 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.988, allocations: 0.6062 MB / 1.349 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/0.9902, allocations: 1.067 MB / 1.35 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005211/0.9955, allocations: 0.8533 MB / 1.351 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009421/0.9964, allocations: 310.1 kB / 1.351 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.9964, allocations: 2.375 kB / 1.351 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001219/0.9976, allocations: 456.4 kB / 1.352 GB, free: 10.01 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 3.346e-06/0.9976, allocations: 0 / 1.352 GB, free: 10.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002851/1.001, allocations: 0.952 MB / 1.353 GB, free: 9.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/1.001, allocations: 54.67 kB / 1.353 GB, free: 9.668 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005725/1.001, allocations: 443.5 kB / 1.353 GB, free: 9.457 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.781e-05/1.001, allocations: 34.2 kB / 1.353 GB, free: 9.422 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/1.001, allocations: 175.4 kB / 1.353 GB, free: 9.273 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.971e-05/1.001, allocations: 53.86 kB / 1.353 GB, free: 9.23 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/1.002, allocations: 58.17 kB / 1.353 GB, free: 9.203 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/1.002, allocations: 343.9 kB / 1.354 GB, free: 8.879 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009603/1.003, allocations: 400.8 kB / 1.354 GB, free: 8.762 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009289/1.004, allocations: 385.2 kB / 1.354 GB, free: 8.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/1.005, allocations: 0.6182 MB / 1.355 GB, free: 8.469 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.005, allocations: 0 / 1.355 GB, free: 8.469 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00229/1.007, allocations: 0.9226 MB / 1.356 GB, free: 8.176 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.281e-05/1.008, allocations: 39.41 kB / 1.356 GB, free: 8.145 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.008, allocations: 0 / 1.356 GB, free: 8.145 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/1.008, allocations: 1.125 kB / 1.356 GB, free: 8.145 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/1.008, allocations: 75.64 kB / 1.356 GB, free: 8.133 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/1.008, allocations: 1 kB / 1.356 GB, free: 8.133 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/1.009, allocations: 47.02 kB / 1.356 GB, free: 8.121 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.74e-05/1.009, allocations: 17.66 kB / 1.356 GB, free: 8.117 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 (17): * Single equations (assignments): 16 * 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.0003725/1.009, allocations: 184.8 kB / 1.356 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/1.009, allocations: 37.02 kB / 1.356 GB, free: 7.957 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/1.009, allocations: 37.75 kB / 1.356 GB, free: 7.934 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.009, allocations: 6.797 kB / 1.356 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.009, allocations: 0.5156 kB / 1.356 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.009, allocations: 4.641 kB / 1.356 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000763/1.01, allocations: 0.5493 MB / 1.357 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.01, allocations: 5.125 kB / 1.357 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005301/1.011, allocations: 69.58 kB / 1.357 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/1.011, allocations: 1.891 kB / 1.357 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-05/1.011, allocations: 11.67 kB / 1.357 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.011, allocations: 1.828 kB / 1.357 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.011, allocations: 0 / 1.357 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/1.013, allocations: 0.6833 MB / 1.358 GB, free: 7.348 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/1.013, allocations: 166.8 kB / 1.358 GB, free: 7.211 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.073e-05/1.013, allocations: 8.562 kB / 1.358 GB, free: 7.207 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005419/1.014, allocations: 42.5 kB / 1.358 GB, free: 7.207 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/1.014, allocations: 21.88 kB / 1.358 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/1.014, allocations: 17.62 kB / 1.358 GB, free: 7.191 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004752/1.014, allocations: 321.7 kB / 1.358 GB, free: 7.039 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.014, allocations: 0 / 1.358 GB, free: 7.039 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000549/1.015, allocations: 80.02 kB / 1.358 GB, free: 7.031 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 (16): * Single equations (assignments): 14 * 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.002263/1.017, allocations: 1.241 MB / 1.359 GB, free: 6.262 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002025/1.019, allocations: 0.7737 MB / 1.36 GB, free: 6.012 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/1.019, allocations: 0 / 1.36 GB, free: 6.012 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008979/1.02, allocations: 331.1 kB / 1.361 GB, free: 5.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/1.02, allocations: 86.5 kB / 1.361 GB, free: 5.887 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/1.032, allocations: 6.165 MB / 1.367 GB, free: 3.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/1.033, allocations: 0.8165 MB / 1.367 GB, free: 2.457 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004551/1.033, allocations: 109.9 kB / 1.368 GB, free: 2.422 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/1.033, allocations: 103.2 kB / 1.368 GB, free: 2.355 MB / 1.061 GB Notification: Performance of SimCode: time 1.313e-06/1.033, allocations: 5.312 kB / 1.368 GB, free: 2.352 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04207/1.075, allocations: 10.94 MB / 1.378 GB, free: 1.195 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.881/9.956, allocations: 14.64 kB / 1.378 GB, free: 1.184 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.60601323103765] Failed to read output from testmodel.py, exit status != 0: 10.089643081009854 10.115152106 9.129288315 Calling exit ...