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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.803/2.803, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 67.89 kB / 1.107 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 168.7 MB / 1.272 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003669/1.086, allocations: 2.176 MB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002909/1.089, allocations: 1.865 MB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/1.09, allocations: 2.094 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007934/1.09, allocations: 235.4 kB / 1.276 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000189/1.091, allocations: 67.72 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/1.092, allocations: 413.5 kB / 1.276 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007329/1.093, allocations: 416.4 kB / 1.277 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/1.093, allocations: 24.5 kB / 1.277 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/1.093, allocations: 150.3 kB / 1.277 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/1.093, allocations: 168.7 kB / 1.277 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.835e-05/1.093, allocations: 27.38 kB / 1.277 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000484/1.094, allocations: 249.8 kB / 1.277 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001597/1.094, allocations: 113.2 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001814/1.094, allocations: 175.8 kB / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007755/1.095, allocations: 0.5858 MB / 1.278 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.095, allocations: 0.9688 kB / 1.278 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/1.095, allocations: 0 / 1.278 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.488e-05/1.095, allocations: 0 / 1.278 GB, free: 3.809 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.001133/1.096, allocations: 0.7196 MB / 1.279 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.096, allocations: 9.625 kB / 1.279 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/1.096, allocations: 48.38 kB / 1.279 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/1.098, allocations: 163.6 kB / 1.279 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/1.098, allocations: 366.3 kB / 1.279 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.992e-05/1.099, allocations: 74.81 kB / 1.279 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/1.099, allocations: 11.62 kB / 1.279 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/1.1, allocations: 440.5 kB / 1.28 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/1.1, allocations: 0 / 1.28 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/1.1, allocations: 10.2 kB / 1.28 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/1.1, allocations: 1.562 kB / 1.28 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/1.102, allocations: 0.5836 MB / 1.28 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/1.104, allocations: 1.047 MB / 1.281 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004785/1.108, allocations: 0.8427 MB / 1.282 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008041/1.109, allocations: 300.7 kB / 1.282 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/1.109, allocations: 4.156 kB / 1.282 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/1.11, allocations: 438.4 kB / 1.283 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 3.166e-06/1.11, allocations: 0 / 1.283 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002678/1.113, allocations: 0.9256 MB / 1.284 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/1.113, allocations: 53.08 kB / 1.284 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006075/1.114, allocations: 430.4 kB / 1.284 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.375e-05/1.114, allocations: 35.08 kB / 1.284 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/1.114, allocations: 175.2 kB / 1.284 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.415e-05/1.114, allocations: 54.61 kB / 1.284 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/1.114, allocations: 56.05 kB / 1.285 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.418e-05/1.114, allocations: 348.8 kB / 1.285 GB, free: 440 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009517/1.115, allocations: 380 kB / 1.285 GB, free: 332 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008783/1.116, allocations: 372.9 kB / 1.286 GB, free: 236 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/1.118, allocations: 0.597 MB / 1.286 GB, free: 44 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.118, allocations: 4 kB / 1.286 GB, free: 40 kB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002494/1.12, allocations: 0.907 MB / 1.287 GB, free: 15.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.191e-05/1.12, allocations: 36.84 kB / 1.287 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.12, allocations: 1.188 kB / 1.287 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/1.12, allocations: 0 / 1.287 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005183/1.121, allocations: 71.81 kB / 1.287 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.121, allocations: 0 / 1.287 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/1.121, allocations: 44.52 kB / 1.287 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/1.121, allocations: 16.78 kB / 1.287 GB, free: 15.7 MB / 1.014 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.0004737/1.122, allocations: 194.2 kB / 1.287 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.649e-05/1.122, allocations: 32.89 kB / 1.287 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.659e-05/1.122, allocations: 37.86 kB / 1.287 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/1.122, allocations: 5.594 kB / 1.287 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/1.122, allocations: 3.969 kB / 1.287 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/1.122, allocations: 5.25 kB / 1.287 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009233/1.123, allocations: 0.5352 MB / 1.288 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.123, allocations: 9.297 kB / 1.288 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004767/1.123, allocations: 66.88 kB / 1.288 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/1.123, allocations: 0.75 kB / 1.288 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/1.123, allocations: 9.078 kB / 1.288 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/1.123, allocations: 0 / 1.288 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.123, allocations: 0 / 1.288 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/1.125, allocations: 0.6676 MB / 1.289 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/1.125, allocations: 159.7 kB / 1.289 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/1.125, allocations: 9.688 kB / 1.289 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/1.126, allocations: 50.45 kB / 1.289 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.842e-05/1.126, allocations: 17.72 kB / 1.289 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.96e-05/1.126, allocations: 11.77 kB / 1.289 GB, free: 14.79 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005154/1.127, allocations: 323 kB / 1.289 GB, free: 14.63 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.127, allocations: 0 / 1.289 GB, free: 14.63 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005114/1.127, allocations: 87.23 kB / 1.289 GB, free: 14.61 MB / 1.014 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.002412/1.129, allocations: 1.228 MB / 1.291 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002082/1.132, allocations: 0.754 MB / 1.291 GB, free: 13.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.132, allocations: 0.5 kB / 1.291 GB, free: 13.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/1.133, allocations: 323.8 kB / 1.292 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/1.133, allocations: 85.28 kB / 1.292 GB, free: 13.48 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/1.145, allocations: 6.11 MB / 1.298 GB, free: 10.78 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/1.145, allocations: 0.8158 MB / 1.298 GB, free: 10.06 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004308/1.146, allocations: 102.8 kB / 1.299 GB, free: 10.03 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/1.146, allocations: 106.1 kB / 1.299 GB, free: 9.957 MB / 1.014 GB Notification: Performance of SimCode: time 1.443e-06/1.146, allocations: 0 / 1.299 GB, free: 9.957 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04436/1.19, allocations: 10.82 MB / 1.309 GB, free: 8.863 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.359/9.549, allocations: 3.688 kB / 1.309 GB, free: 8.863 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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: 15.730284948978806] Failed to read output from testmodel.py, exit status != 0: 9.622951405995991 9.637977095 8.53982493 Calling exit ...