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.001704/0.001704, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.002139/0.002139, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.563/1.563, 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 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 2.965/2.965, allocations: 0.49 GB / 0.7923 GB, free: 1.312 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.002003/0.002003, allocations: 63.91 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002953/1.028, allocations: 2.166 MB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002534/1.031, allocations: 1.903 MB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/1.031, allocations: 2.719 kB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006776/1.031, allocations: 227.8 kB / 1.326 GB, free: 21.81 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/1.031, allocations: 74.34 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009207/1.032, allocations: 407.4 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003921/1.033, allocations: 412.5 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/1.033, allocations: 29.97 kB / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/1.033, allocations: 164.5 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/1.033, allocations: 156.7 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.359e-05/1.033, allocations: 27.81 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004393/1.034, allocations: 247.9 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001757/1.034, allocations: 117 kB / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/1.034, allocations: 163.5 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007359/1.035, allocations: 0.6008 MB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.035, allocations: 4 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.374e-06/1.035, allocations: 0 / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.475e-05/1.035, allocations: 0.6562 kB / 1.328 GB, free: 20.81 MB / 1.061 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.001202/1.036, allocations: 0.7129 MB / 1.329 GB, free: 20.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.036, allocations: 13.8 kB / 1.329 GB, free: 20.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.73e-05/1.036, allocations: 5.625 kB / 1.329 GB, free: 20.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/1.036, allocations: 41.56 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/1.038, allocations: 161.4 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005203/1.038, allocations: 371.6 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/1.039, allocations: 77.42 kB / 1.329 GB, free: 19.79 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/1.039, allocations: 19.59 kB / 1.329 GB, free: 19.78 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/1.04, allocations: 443.3 kB / 1.33 GB, free: 19.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.04, allocations: 0 / 1.33 GB, free: 19.64 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/1.04, allocations: 0.6875 kB / 1.33 GB, free: 19.64 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/1.04, allocations: 3.156 kB / 1.33 GB, free: 19.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/1.042, allocations: 0.5831 MB / 1.33 GB, free: 19.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/1.044, allocations: 1.038 MB / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005091/1.049, allocations: 0.8351 MB / 1.332 GB, free: 18.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008289/1.05, allocations: 303.7 kB / 1.332 GB, free: 18.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/1.05, allocations: 1.688 kB / 1.332 GB, free: 18.71 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/1.051, allocations: 445.5 kB / 1.333 GB, free: 18.57 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.545e-06/1.051, allocations: 0 / 1.333 GB, free: 18.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.003026/1.054, allocations: 0.9189 MB / 1.334 GB, free: 18.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/1.054, allocations: 60.47 kB / 1.334 GB, free: 18.23 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005049/1.054, allocations: 434 kB / 1.334 GB, free: 18.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.711e-05/1.054, allocations: 31.58 kB / 1.334 GB, free: 17.99 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/1.055, allocations: 177.8 kB / 1.334 GB, free: 17.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.838e-05/1.055, allocations: 55.27 kB / 1.334 GB, free: 17.79 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/1.055, allocations: 55.38 kB / 1.335 GB, free: 17.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.912e-05/1.055, allocations: 348.3 kB / 1.335 GB, free: 17.44 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008816/1.056, allocations: 376.9 kB / 1.335 GB, free: 17.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008389/1.057, allocations: 371.4 kB / 1.336 GB, free: 17.24 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/1.058, allocations: 0.606 MB / 1.336 GB, free: 17.05 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.058, allocations: 1.344 kB / 1.336 GB, free: 17.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001991/1.06, allocations: 0.8921 MB / 1.337 GB, free: 16.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/1.06, allocations: 43.48 kB / 1.337 GB, free: 16.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.06, allocations: 4.656 kB / 1.337 GB, free: 16.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.06, allocations: 1.375 kB / 1.337 GB, free: 16.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/1.061, allocations: 59.28 kB / 1.337 GB, free: 16.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/1.061, allocations: 9.156 kB / 1.337 GB, free: 16.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004345/1.061, allocations: 55.45 kB / 1.337 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/1.061, allocations: 11.73 kB / 1.337 GB, free: 16.7 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.0002333/1.061, allocations: 187.2 kB / 1.337 GB, free: 16.56 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/1.061, allocations: 40.78 kB / 1.337 GB, free: 16.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.25e-05/1.062, allocations: 37.59 kB / 1.337 GB, free: 16.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/1.062, allocations: 7.297 kB / 1.337 GB, free: 16.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/1.062, allocations: 4 kB / 1.337 GB, free: 16.51 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/1.062, allocations: 4.734 kB / 1.337 GB, free: 16.51 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/1.062, allocations: 0.5343 MB / 1.338 GB, free: 16.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/1.062, allocations: 1.125 kB / 1.338 GB, free: 16.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/1.063, allocations: 63.88 kB / 1.338 GB, free: 16.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.063, allocations: 1.344 kB / 1.338 GB, free: 16.19 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/1.063, allocations: 18.47 kB / 1.338 GB, free: 16.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/1.063, allocations: 1.094 kB / 1.338 GB, free: 16.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.063, allocations: 3.938 kB / 1.338 GB, free: 16.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/1.064, allocations: 0.6631 MB / 1.339 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/1.064, allocations: 165.5 kB / 1.339 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.168e-05/1.064, allocations: 8.703 kB / 1.339 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/1.065, allocations: 45.92 kB / 1.339 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.208e-05/1.065, allocations: 25.09 kB / 1.339 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/1.065, allocations: 9.703 kB / 1.339 GB, free: 15.79 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000321/1.065, allocations: 316.9 kB / 1.339 GB, free: 15.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.065, allocations: 0 / 1.339 GB, free: 15.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004193/1.066, allocations: 84.47 kB / 1.339 GB, free: 15.63 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.002086/1.068, allocations: 1.232 MB / 1.341 GB, free: 14.86 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001896/1.07, allocations: 0.7505 MB / 1.341 GB, free: 14.61 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.07, allocations: 4 kB / 1.341 GB, free: 14.61 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008684/1.071, allocations: 323.3 kB / 1.342 GB, free: 14.53 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/1.071, allocations: 82.14 kB / 1.342 GB, free: 14.49 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009959/1.081, allocations: 6.112 MB / 1.348 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/1.081, allocations: 0.8083 MB / 1.348 GB, free: 11.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003755/1.082, allocations: 104.1 kB / 1.349 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/1.082, allocations: 100.2 kB / 1.349 GB, free: 10.98 MB / 1.061 GB Notification: Performance of SimCode: time 6.82e-07/1.082, allocations: 0 / 1.349 GB, free: 10.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/1.117, allocations: 10.87 MB / 1.359 GB, free: 9.859 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.745/9.863, allocations: 12.42 kB / 1.359 GB, free: 9.855 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.455082477012184] Failed to read output from testmodel.py, exit status != 0: 9.99485336797079 10.017105997 8.978459556 Calling exit ...