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.001706/0.001706, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.00237/0.00237, allocations: 217 kB / 23.04 MB, free: 5.074 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.227/3.227, allocations: 0.5003 GB / 0.8061 GB, free: 26.83 MB / 0.6231 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.002828/0.002828, allocations: 67.06 kB / 1.171 GB, free: 19.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.385, allocations: 179 MB / 1.345 GB, free: 408 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004517/0.3895, allocations: 2.184 MB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003626/0.3931, allocations: 1.905 MB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.3933, allocations: 0 / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007772/0.3941, allocations: 234.7 kB / 1.35 GB, free: 12.05 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.3942, allocations: 67.36 kB / 1.35 GB, free: 11.99 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.3954, allocations: 427.9 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005764/0.396, allocations: 406.8 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3961, allocations: 32.52 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.3963, allocations: 159.6 kB / 1.351 GB, free: 10.99 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.3965, allocations: 159.4 kB / 1.351 GB, free: 10.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.883e-05/0.3966, allocations: 28 kB / 1.351 GB, free: 10.81 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005204/0.3971, allocations: 291.6 kB / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.3973, allocations: 115.6 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.3974, allocations: 163.2 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007122/0.3982, allocations: 0.5878 MB / 1.352 GB, free: 9.66 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3982, allocations: 4 kB / 1.352 GB, free: 9.656 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3982, allocations: 0 / 1.352 GB, free: 9.656 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.3982, allocations: 0 / 1.352 GB, free: 9.656 MB / 1.045 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.001271/0.3994, allocations: 0.65 MB / 1.353 GB, free: 8.969 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3995, allocations: 8.031 kB / 1.353 GB, free: 8.961 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.423e-05/0.3995, allocations: 8.125 kB / 1.353 GB, free: 8.953 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.213e-05/0.3996, allocations: 42.73 kB / 1.353 GB, free: 8.902 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.4015, allocations: 180.5 kB / 1.353 GB, free: 8.727 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005199/0.402, allocations: 308.8 kB / 1.353 GB, free: 8.398 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.4022, allocations: 131.3 kB / 1.353 GB, free: 8.246 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.4022, allocations: 16.12 kB / 1.353 GB, free: 8.23 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.4033, allocations: 453.1 kB / 1.354 GB, free: 7.781 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4033, allocations: 0 / 1.354 GB, free: 7.781 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.194e-05/0.4034, allocations: 11.98 kB / 1.354 GB, free: 7.77 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4034, allocations: 0 / 1.354 GB, free: 7.77 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.4051, allocations: 0.6011 MB / 1.354 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.4072, allocations: 1.041 MB / 1.355 GB, free: 6.082 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004876/0.4121, allocations: 0.8611 MB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008373/0.4129, allocations: 312.9 kB / 1.356 GB, free: 4.902 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.413, allocations: 7.984 kB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.4141, allocations: 458.9 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 4.188e-06/0.4141, allocations: 0 / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.002721/0.4168, allocations: 0.9521 MB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.4169, allocations: 55.41 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005682/0.4175, allocations: 437.5 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.119e-05/0.4175, allocations: 33.7 kB / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.4177, allocations: 176.1 kB / 1.358 GB, free: 2.762 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.853e-05/0.4178, allocations: 51.53 kB / 1.358 GB, free: 2.711 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.4179, allocations: 57.67 kB / 1.359 GB, free: 2.648 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4181, allocations: 346.8 kB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009599/0.4191, allocations: 392.6 kB / 1.359 GB, free: 1.914 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000902/0.42, allocations: 381.7 kB / 1.36 GB, free: 1.543 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.4216, allocations: 0.6192 MB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4216, allocations: 0 / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002214/0.4238, allocations: 0.926 MB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.824e-05/0.4239, allocations: 45.69 kB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4239, allocations: 0 / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.4239, allocations: 0 / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.4244, allocations: 63.92 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.4244, allocations: 7.984 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.4249, allocations: 39.89 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/0.425, allocations: 11.98 kB / 1.361 GB, free: 15.8 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.0004004/0.4254, allocations: 193.7 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.294e-05/0.4254, allocations: 35.77 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.276e-05/0.4255, allocations: 43.41 kB / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4255, allocations: 0 / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.4256, allocations: 0 / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.4256, allocations: 7.922 kB / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007855/0.4263, allocations: 0.5313 MB / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.4264, allocations: 4 kB / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/0.4269, allocations: 67.91 kB / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.4269, allocations: 4 kB / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.4269, allocations: 7.984 kB / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.4269, allocations: 4 kB / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4269, allocations: 7.875 kB / 1.362 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.4287, allocations: 0.6723 MB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.429, allocations: 95.62 kB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.02e-05/0.429, allocations: 8 kB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004708/0.4295, allocations: 47.94 kB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.913e-05/0.4296, allocations: 23.91 kB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.4296, allocations: 7.984 kB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004366/0.4301, allocations: 323.1 kB / 1.363 GB, free: 13.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4301, allocations: 7.938 kB / 1.363 GB, free: 13.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004382/0.4305, allocations: 79.92 kB / 1.363 GB, free: 13.58 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.002469/0.433, allocations: 1.243 MB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002093/0.4351, allocations: 0.7723 MB / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4351, allocations: 0 / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008875/0.436, allocations: 331.7 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.4365, allocations: 88.3 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.4477, allocations: 6.145 MB / 1.372 GB, free: 4.875 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/0.4483, allocations: 0.8142 MB / 1.373 GB, free: 4.035 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004578/0.4487, allocations: 106.2 kB / 1.373 GB, free: 3.934 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.449, allocations: 111.4 kB / 1.373 GB, free: 3.824 MB / 1.061 GB Notification: Performance of SimCode: time 9.22e-07/0.449, allocations: 4 kB / 1.373 GB, free: 3.82 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03756/0.4866, allocations: 11.13 MB / 1.384 GB, free: 8.906 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.83, allocations: 3.938 kB / 1.384 GB, free: 8.902 MB / 1.076 GB " [Timeout remaining time 288] (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: 18.755275904026348] Failed to read output from testmodel.py, exit status != 0: 12.00408853503177 12.02667342 11.624000834 Calling exit ...