Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001444/0.001444, allocations: 101.5 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.001618/0.001618, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.873/2.873, allocations: 476.7 MB / 0.7715 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_11_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.001971/0.001971, allocations: 63.44 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3234, allocations: 170 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003718/0.3272, allocations: 2.194 MB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002996/0.3302, allocations: 1.893 MB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.3303, allocations: 8 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006993/0.331, allocations: 230.2 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.3311, allocations: 63.36 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.3322, allocations: 422.6 kB / 1.289 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005497/0.3328, allocations: 426.7 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.68e-05/0.3329, allocations: 20.58 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.3331, allocations: 159.5 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.3333, allocations: 163.5 kB / 1.29 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.633e-05/0.3334, allocations: 31.94 kB / 1.29 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005021/0.3339, allocations: 279.6 kB / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.3341, allocations: 115.6 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.3342, allocations: 163.2 kB / 1.29 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007715/0.335, allocations: 0.6111 MB / 1.291 GB, free: 5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.335, allocations: 0 / 1.291 GB, free: 5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.522e-06/0.335, allocations: 0 / 1.291 GB, free: 5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.335, allocations: 0 / 1.291 GB, free: 5 MB / 0.9825 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.001278/0.3363, allocations: 0.6383 MB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3363, allocations: 15.97 kB / 1.291 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.358e-05/0.3363, allocations: 192 / 1.291 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.344e-05/0.3364, allocations: 42.75 kB / 1.291 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.3382, allocations: 164.5 kB / 1.292 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.3387, allocations: 312.8 kB / 1.292 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.3388, allocations: 127.3 kB / 1.292 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.3389, allocations: 20.11 kB / 1.292 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.34, allocations: 441.1 kB / 1.292 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.34, allocations: 0 / 1.292 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.3401, allocations: 4 kB / 1.292 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3401, allocations: 4 kB / 1.292 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.3418, allocations: 0.5777 MB / 1.293 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.3438, allocations: 1.03 MB / 1.294 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00488/0.3487, allocations: 0.8377 MB / 1.295 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000829/0.3495, allocations: 296.7 kB / 1.295 GB, free: 368 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.3495, allocations: 4 kB / 1.295 GB, free: 364 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/0.3506, allocations: 443 kB / 1.296 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.755e-06/0.3506, allocations: 0 / 1.296 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002802/0.3534, allocations: 0.9245 MB / 1.296 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/0.3535, allocations: 55.41 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/0.3541, allocations: 437.5 kB / 1.297 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.256e-05/0.3542, allocations: 37.7 kB / 1.297 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.3543, allocations: 176 kB / 1.297 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.328e-05/0.3544, allocations: 51.58 kB / 1.297 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.3546, allocations: 57.66 kB / 1.297 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3548, allocations: 342.8 kB / 1.298 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009446/0.3557, allocations: 388.5 kB / 1.298 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009276/0.3566, allocations: 367.7 kB / 1.298 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.3582, allocations: 0.6019 MB / 1.299 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.3582, allocations: 4 kB / 1.299 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0022/0.3604, allocations: 0.8998 MB / 1.3 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.498e-05/0.3605, allocations: 37.69 kB / 1.3 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3605, allocations: 3.938 kB / 1.3 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.3606, allocations: 4 kB / 1.3 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.361, allocations: 63.92 kB / 1.3 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.361, allocations: 7.938 kB / 1.3 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.3615, allocations: 43.83 kB / 1.3 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/0.3615, allocations: 19.98 kB / 1.3 GB, free: 11.35 MB / 0.9981 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.0003381/0.3619, allocations: 189.7 kB / 1.3 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-05/0.362, allocations: 35.77 kB / 1.3 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.685e-05/0.362, allocations: 39.41 kB / 1.3 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.362, allocations: 0 / 1.3 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.362, allocations: 0 / 1.3 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3621, allocations: 3.938 kB / 1.3 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006445/0.3627, allocations: 0.5119 MB / 1.301 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3627, allocations: 7.938 kB / 1.301 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/0.3631, allocations: 67.86 kB / 1.301 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3631, allocations: 0 / 1.301 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.3632, allocations: 7.984 kB / 1.301 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3632, allocations: 0 / 1.301 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3632, allocations: 4 kB / 1.301 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.365, allocations: 0.6605 MB / 1.301 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.3652, allocations: 99.67 kB / 1.301 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.239e-05/0.3653, allocations: 4 kB / 1.301 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004357/0.3657, allocations: 43.94 kB / 1.302 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.005e-05/0.3658, allocations: 23.91 kB / 1.302 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.3658, allocations: 7.984 kB / 1.302 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003915/0.3662, allocations: 327.1 kB / 1.302 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3662, allocations: 0 / 1.302 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003843/0.3666, allocations: 83.92 kB / 1.302 GB, free: 9.191 MB / 0.9981 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.002349/0.3689, allocations: 1.225 MB / 1.303 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001943/0.3709, allocations: 0.7528 MB / 1.304 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3709, allocations: 0 / 1.304 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008702/0.3718, allocations: 319.7 kB / 1.304 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005057/0.3723, allocations: 81.31 kB / 1.304 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.3832, allocations: 6.095 MB / 1.31 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/0.3838, allocations: 0.8181 MB / 1.311 GB, free: 15.74 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003848/0.3841, allocations: 98.25 kB / 1.311 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.3844, allocations: 107.4 kB / 1.311 GB, free: 15.54 MB / 1.014 GB Notification: Performance of SimCode: time 1.072e-06/0.3844, allocations: 0 / 1.311 GB, free: 15.54 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/0.4203, allocations: 11.05 MB / 1.322 GB, free: 4.719 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.02, allocations: 6.969 kB / 1.322 GB, free: 4.715 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu > Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.693802824011073] Failed to read output from testmodel.py, exit status != 0: 12.698075513995718 12.21855237 11.878318599 Calling exit ...