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.001382/0.001382, allocations: 116.1 kB / 17.17 MB, free: 6 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.001444/0.001444, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.549/1.549, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.7678 GB, free: 9.387 MB / 0.6075 GB " [Timeout remaining time 176] 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.002194/0.002194, allocations: 67.91 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124/1.127, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004106/1.131, allocations: 2.169 MB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003783/1.135, allocations: 1.901 MB / 1.283 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/1.135, allocations: 1.031 kB / 1.283 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000958/1.136, allocations: 232.1 kB / 1.283 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002236/1.136, allocations: 63.94 kB / 1.283 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001564/1.137, allocations: 416 kB / 1.284 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007418/1.138, allocations: 416 kB / 1.284 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/1.138, allocations: 26.48 kB / 1.284 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/1.139, allocations: 157.7 kB / 1.284 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/1.139, allocations: 157 kB / 1.284 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.848e-05/1.139, allocations: 27.03 kB / 1.284 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006025/1.14, allocations: 246.1 kB / 1.285 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002138/1.14, allocations: 116.4 kB / 1.285 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002118/1.14, allocations: 168.4 kB / 1.285 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009674/1.141, allocations: 0.5998 MB / 1.285 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.141, allocations: 1.094 kB / 1.285 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.894e-06/1.141, allocations: 0 / 1.285 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.887e-06/1.141, allocations: 0 / 1.285 GB, free: 7.812 MB / 0.9981 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.001399/1.142, allocations: 0.719 MB / 1.286 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/1.142, allocations: 10.06 kB / 1.286 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.212e-05/1.142, allocations: 6.578 kB / 1.286 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.95e-05/1.143, allocations: 41.38 kB / 1.286 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/1.144, allocations: 160.4 kB / 1.286 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000597/1.145, allocations: 378.5 kB / 1.287 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/1.145, allocations: 75.39 kB / 1.287 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/1.145, allocations: 14.34 kB / 1.287 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/1.146, allocations: 444.5 kB / 1.287 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.146, allocations: 0 / 1.287 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/1.146, allocations: 5.812 kB / 1.287 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/1.146, allocations: 1.688 kB / 1.287 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/1.148, allocations: 0.5823 MB / 1.288 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/1.15, allocations: 1.047 MB / 1.289 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005055/1.155, allocations: 0.8359 MB / 1.29 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008021/1.156, allocations: 302.8 kB / 1.29 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/1.156, allocations: 2.812 kB / 1.29 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/1.157, allocations: 440.6 kB / 1.29 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.305e-06/1.157, allocations: 0 / 1.29 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002761/1.16, allocations: 0.9189 MB / 1.291 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/1.16, allocations: 59.75 kB / 1.291 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006822/1.161, allocations: 435.5 kB / 1.292 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.541e-05/1.161, allocations: 34.69 kB / 1.292 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/1.161, allocations: 179 kB / 1.292 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.804e-05/1.161, allocations: 50.62 kB / 1.292 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/1.161, allocations: 51.12 kB / 1.292 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000191/1.161, allocations: 352.2 kB / 1.292 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009314/1.162, allocations: 381.4 kB / 1.293 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009045/1.163, allocations: 374 kB / 1.293 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/1.165, allocations: 0.5999 MB / 1.294 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.165, allocations: 0 / 1.294 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002167/1.167, allocations: 0.8996 MB / 1.295 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.557e-05/1.167, allocations: 39.33 kB / 1.295 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.167, allocations: 0 / 1.295 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/1.167, allocations: 9.375 kB / 1.295 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/1.167, allocations: 64.34 kB / 1.295 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.168, allocations: 1.031 kB / 1.295 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/1.168, allocations: 49.83 kB / 1.295 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/1.168, allocations: 16.91 kB / 1.295 GB, free: 3.688 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.0003251/1.168, allocations: 185.2 kB / 1.295 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-05/1.168, allocations: 41.39 kB / 1.295 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.947e-05/1.169, allocations: 41.28 kB / 1.295 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.169, allocations: 2.719 kB / 1.295 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.169, allocations: 0 / 1.295 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/1.169, allocations: 5.344 kB / 1.295 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006648/1.169, allocations: 0.5382 MB / 1.295 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.169, allocations: 0.7969 kB / 1.295 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/1.17, allocations: 71.05 kB / 1.296 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/1.17, allocations: 1.609 kB / 1.296 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/1.17, allocations: 7.656 kB / 1.296 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/1.17, allocations: 1.406 kB / 1.296 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.17, allocations: 0 / 1.296 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/1.172, allocations: 0.6662 MB / 1.296 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/1.172, allocations: 163.9 kB / 1.296 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.877e-05/1.172, allocations: 9.75 kB / 1.296 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/1.172, allocations: 48.66 kB / 1.296 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/1.173, allocations: 31.12 kB / 1.296 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/1.173, allocations: 8.703 kB / 1.296 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004354/1.173, allocations: 317.5 kB / 1.297 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.173, allocations: 0 / 1.297 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004933/1.173, allocations: 84.39 kB / 1.297 GB, free: 2.605 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.002312/1.176, allocations: 1.238 MB / 1.298 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002044/1.178, allocations: 0.7489 MB / 1.299 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.178, allocations: 0 / 1.299 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008942/1.179, allocations: 324.2 kB / 1.299 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00052/1.179, allocations: 82.22 kB / 1.299 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/1.19, allocations: 6.102 MB / 1.305 GB, free: 14.78 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/1.191, allocations: 0.8167 MB / 1.306 GB, free: 14.06 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004059/1.191, allocations: 99.09 kB / 1.306 GB, free: 14.03 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/1.192, allocations: 101 kB / 1.306 GB, free: 13.96 MB / 1.014 GB Notification: Performance of SimCode: time 1.193e-06/1.192, allocations: 4 kB / 1.306 GB, free: 13.96 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03289/1.224, allocations: 10.86 MB / 1.317 GB, free: 10.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.796/10.02, allocations: 11.17 kB / 1.317 GB, free: 10.2 MB / 1.014 GB " [Timeout remaining time 290] (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: 16.487510816019494] Failed to read output from testmodel.py, exit status != 0: 10.149330510001164 10.164753301 9.020620169 Calling exit ...