Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001225/0.001225, allocations: 97.31 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.001557/0.001557, allocations: 218.5 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 3.253/3.253, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_12_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.001942/0.001942, allocations: 66.42 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3675, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004487/0.372, allocations: 2.068 MB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004474/0.3765, allocations: 1.753 MB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.3768, allocations: 4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.378, allocations: 202.8 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003939/0.3784, allocations: 67.36 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.3804, allocations: 413.9 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009755/0.3814, allocations: 418.7 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.3816, allocations: 28.58 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003923/0.382, allocations: 151.6 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004578/0.3824, allocations: 171.3 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.3826, allocations: 28 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008564/0.3834, allocations: 271.6 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002687/0.3837, allocations: 115.7 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.384, allocations: 131.4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.3853, allocations: 0.5956 MB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3853, allocations: 0 / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.185e-06/0.3853, allocations: 0 / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.3853, allocations: 4 kB / 1.333 GB, free: 11.08 MB / 1.029 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.001876/0.3872, allocations: 0.6459 MB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.3872, allocations: 12.03 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.32e-05/0.3873, allocations: 4.188 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.291e-05/0.3873, allocations: 42.69 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002577/0.3899, allocations: 168.5 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007079/0.3906, allocations: 312.8 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/0.3909, allocations: 123.4 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.69e-05/0.3909, allocations: 20.11 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.3926, allocations: 431 kB / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3926, allocations: 0 / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.3926, allocations: 7.922 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3926, allocations: 8 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002598/0.3952, allocations: 0.5777 MB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002971/0.3982, allocations: 0.9443 MB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007459/0.4056, allocations: 0.8416 MB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/0.4069, allocations: 300.7 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.407, allocations: 4 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001445/0.4084, allocations: 439.3 kB / 1.338 GB, free: 6.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 4.689e-06/0.4084, allocations: 0 / 1.338 GB, free: 6.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.003983/0.4124, allocations: 0.9252 MB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.4125, allocations: 59.41 kB / 1.339 GB, free: 5.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009549/0.4134, allocations: 437.6 kB / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.4135, allocations: 33.7 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.4138, allocations: 172 kB / 1.339 GB, free: 4.422 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.4139, allocations: 47.64 kB / 1.339 GB, free: 4.375 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.4141, allocations: 49.62 kB / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002394/0.4144, allocations: 350.8 kB / 1.34 GB, free: 3.969 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.4158, allocations: 418.4 kB / 1.34 GB, free: 3.551 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.417, allocations: 413.3 kB / 1.34 GB, free: 3.141 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.4195, allocations: 0.6015 MB / 1.341 GB, free: 2.531 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.4195, allocations: 0 / 1.341 GB, free: 2.531 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002765/0.4222, allocations: 0.9432 MB / 1.342 GB, free: 1.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.653e-05/0.4223, allocations: 37.69 kB / 1.342 GB, free: 1.527 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4223, allocations: 0 / 1.342 GB, free: 1.527 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.4223, allocations: 4 kB / 1.342 GB, free: 1.523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000461/0.4228, allocations: 67.91 kB / 1.342 GB, free: 1.457 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.4228, allocations: 4 kB / 1.342 GB, free: 1.453 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.4232, allocations: 43.84 kB / 1.342 GB, free: 1.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/0.4233, allocations: 15.98 kB / 1.342 GB, free: 1.395 MB / 1.029 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.0003073/0.4236, allocations: 191.6 kB / 1.342 GB, free: 1.199 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.4237, allocations: 35.77 kB / 1.342 GB, free: 1.164 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.69e-05/0.4238, allocations: 39.41 kB / 1.342 GB, free: 1.125 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4238, allocations: 0 / 1.342 GB, free: 1.125 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.4238, allocations: 7.938 kB / 1.342 GB, free: 1.117 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.4238, allocations: 7.922 kB / 1.342 GB, free: 1.109 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006479/0.4244, allocations: 468.1 kB / 1.343 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.4244, allocations: 4 kB / 1.343 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004445/0.4249, allocations: 63.92 kB / 1.343 GB, free: 0.543 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4249, allocations: 0 / 1.343 GB, free: 0.543 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.4249, allocations: 7.984 kB / 1.343 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4249, allocations: 0 / 1.343 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4249, allocations: 4 kB / 1.343 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.4272, allocations: 0.6606 MB / 1.343 GB, free: 15.85 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.4275, allocations: 99.62 kB / 1.344 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.4276, allocations: 4 kB / 1.344 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000622/0.4282, allocations: 47.94 kB / 1.344 GB, free: 15.7 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.4284, allocations: 23.89 kB / 1.344 GB, free: 15.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-05/0.4284, allocations: 11.98 kB / 1.344 GB, free: 15.66 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007072/0.4291, allocations: 319.1 kB / 1.344 GB, free: 15.35 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4291, allocations: 0 / 1.344 GB, free: 15.35 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006202/0.4298, allocations: 79.92 kB / 1.344 GB, free: 15.27 MB / 1.045 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.002688/0.4324, allocations: 1.236 MB / 1.345 GB, free: 14.01 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001959/0.4344, allocations: 0.7818 MB / 1.346 GB, free: 13.21 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.4344, allocations: 4 kB / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008298/0.4352, allocations: 315.7 kB / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.4358, allocations: 94.44 kB / 1.346 GB, free: 12.8 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.4474, allocations: 6.261 MB / 1.352 GB, free: 6.426 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.4476, allocations: 202.1 kB / 1.353 GB, free: 6.211 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004182/0.4481, allocations: 102.2 kB / 1.353 GB, free: 6.109 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.4483, allocations: 99.38 kB / 1.353 GB, free: 6.012 MB / 1.045 GB Notification: Performance of SimCode: time 1.503e-06/0.4483, allocations: 0 / 1.353 GB, free: 6.012 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05223/0.5006, allocations: 11.61 MB / 1.364 GB, free: 10.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.36, allocations: 8.562 kB / 1.364 GB, free: 10.68 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu > Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.271578332060017] Failed to read output from testmodel.py, exit status != 0: 12.526838834979571 12.546665725 12.157652982 Calling exit ...