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.001327/0.001327, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001593/0.001593, allocations: 215.6 kB / 23.03 MB, free: 4.922 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.206/3.206, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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.001951/0.001951, allocations: 64.75 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3492, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.00342/0.3526, allocations: 2.055 MB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002836/0.3554, allocations: 1.741 MB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.3555, allocations: 0 / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007111/0.3562, allocations: 202.8 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.3564, allocations: 67.41 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.3575, allocations: 429.2 kB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005295/0.358, allocations: 418.7 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.664e-05/0.3581, allocations: 20.58 kB / 1.35 GB, free: 11.01 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.3583, allocations: 159.6 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.3585, allocations: 159.4 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.027e-05/0.3586, allocations: 28 kB / 1.35 GB, free: 10.67 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004728/0.359, allocations: 275.6 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.3592, allocations: 119.6 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.3594, allocations: 131.4 kB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007113/0.3601, allocations: 0.5995 MB / 1.351 GB, free: 9.551 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3601, allocations: 4 kB / 1.351 GB, free: 9.547 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3601, allocations: 4 kB / 1.352 GB, free: 9.543 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.3601, allocations: 0 / 1.352 GB, free: 9.543 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.001198/0.3613, allocations: 0.6344 MB / 1.352 GB, free: 8.871 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3613, allocations: 8.031 kB / 1.352 GB, free: 8.863 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.244e-05/0.3613, allocations: 4.188 kB / 1.352 GB, free: 8.859 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.108e-05/0.3614, allocations: 42.73 kB / 1.352 GB, free: 8.809 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.3633, allocations: 180.5 kB / 1.352 GB, free: 8.633 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005629/0.3639, allocations: 312.7 kB / 1.353 GB, free: 8.301 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.3641, allocations: 131.3 kB / 1.353 GB, free: 8.148 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.527e-05/0.3641, allocations: 12.12 kB / 1.353 GB, free: 8.137 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.3652, allocations: 459.2 kB / 1.353 GB, free: 7.684 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.3652, allocations: 4 kB / 1.353 GB, free: 7.68 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.3653, allocations: 0 / 1.353 GB, free: 7.68 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.3653, allocations: 11.88 kB / 1.353 GB, free: 7.668 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.3668, allocations: 0.605 MB / 1.354 GB, free: 7.062 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.3688, allocations: 0.9711 MB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005096/0.3739, allocations: 0.8611 MB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008094/0.3747, allocations: 312.6 kB / 1.356 GB, free: 4.867 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.3747, allocations: 4 kB / 1.356 GB, free: 4.863 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.3758, allocations: 461.8 kB / 1.356 GB, free: 4.402 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 3.276e-06/0.3758, allocations: 0 / 1.356 GB, free: 4.402 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.002581/0.3783, allocations: 0.9499 MB / 1.357 GB, free: 3.445 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.3784, allocations: 55.41 kB / 1.357 GB, free: 3.379 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005376/0.3789, allocations: 433.6 kB / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.887e-05/0.379, allocations: 33.7 kB / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.3792, allocations: 176.1 kB / 1.358 GB, free: 2.734 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.186e-05/0.3792, allocations: 47.58 kB / 1.358 GB, free: 2.688 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.3794, allocations: 57.67 kB / 1.358 GB, free: 2.625 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3795, allocations: 350.8 kB / 1.358 GB, free: 2.273 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008924/0.3804, allocations: 430.2 kB / 1.359 GB, free: 1.844 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008868/0.3813, allocations: 421.4 kB / 1.359 GB, free: 1.426 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.3828, allocations: 0.6248 MB / 1.36 GB, free: 0.793 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.3828, allocations: 0 / 1.36 GB, free: 0.793 MB / 1.045 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002036/0.3849, allocations: 0.9534 MB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.3849, allocations: 47.25 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3849, allocations: 0 / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.385, allocations: 4 kB / 1.361 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.3854, allocations: 67.84 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.3855, allocations: 0 / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.3859, allocations: 47.89 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.3859, allocations: 15.97 kB / 1.361 GB, free: 15.63 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.0002772/0.3862, allocations: 183.3 kB / 1.361 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.257e-05/0.3863, allocations: 39.75 kB / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.067e-05/0.3864, allocations: 43.41 kB / 1.361 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.3864, allocations: 0 / 1.361 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3864, allocations: 0 / 1.361 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3864, allocations: 3.938 kB / 1.361 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005457/0.3869, allocations: 476.2 kB / 1.362 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3869, allocations: 7.938 kB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004791/0.3874, allocations: 63.91 kB / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.3874, allocations: 4 kB / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.3875, allocations: 7.984 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3875, allocations: 7.984 kB / 1.362 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3875, allocations: 4 kB / 1.362 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.3891, allocations: 0.6684 MB / 1.362 GB, free: 14.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.3894, allocations: 103.6 kB / 1.362 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.833e-05/0.3894, allocations: 11.94 kB / 1.362 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/0.3899, allocations: 51.88 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/0.39, allocations: 19.91 kB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.39, allocations: 11.98 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003604/0.3904, allocations: 319.1 kB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3904, allocations: 8 kB / 1.363 GB, free: 13.56 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000381/0.3908, allocations: 75.94 kB / 1.363 GB, free: 13.48 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.002166/0.3929, allocations: 1.255 MB / 1.364 GB, free: 12.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.3948, allocations: 0.8052 MB / 1.365 GB, free: 11.38 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3948, allocations: 0 / 1.365 GB, free: 11.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000809/0.3956, allocations: 327.7 kB / 1.365 GB, free: 11.05 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.3961, allocations: 78.11 kB / 1.365 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.4065, allocations: 6.318 MB / 1.372 GB, free: 4.547 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.4067, allocations: 202 kB / 1.372 GB, free: 4.332 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004147/0.4071, allocations: 106.2 kB / 1.372 GB, free: 4.227 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.4074, allocations: 107.4 kB / 1.372 GB, free: 4.121 MB / 1.061 GB Notification: Performance of SimCode: time 8.52e-07/0.4074, allocations: 0 / 1.372 GB, free: 4.121 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03622/0.4436, allocations: 11.68 MB / 1.383 GB, free: 8.688 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.94, allocations: 19.84 kB / 1.383 GB, free: 8.668 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.67545749002602] Failed to read output from testmodel.py, exit status != 0: 12.101378508028574 12.128127761 11.762669353 Calling exit ...