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.001719/0.001719, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002132/0.002132, allocations: 216.5 kB / 23.04 MB, free: 5.074 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: 7.992 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.186/3.186, allocations: 0.49 GB / 0.7959 GB, free: 33.52 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.002043/0.002043, allocations: 70.81 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3534, allocations: 176.1 MB / 1.327 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003611/0.357, allocations: 2.189 MB / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002979/0.36, allocations: 1.915 MB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3601, allocations: 4 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006853/0.3608, allocations: 226.7 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.361, allocations: 63.41 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.362, allocations: 425.3 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005276/0.3626, allocations: 422.7 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.279e-05/0.3626, allocations: 16.59 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.3628, allocations: 163.6 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.3631, allocations: 159.5 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.3631, allocations: 24 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004787/0.3636, allocations: 283.6 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.3637, allocations: 123.6 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.3639, allocations: 163.2 kB / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007006/0.3646, allocations: 0.5995 MB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3646, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3646, allocations: 3.938 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3646, allocations: 0 / 1.333 GB, free: 11.21 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.001186/0.3658, allocations: 0.6383 MB / 1.334 GB, free: 10.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3658, allocations: 12.03 kB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.192e-05/0.3659, allocations: 192 / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.005e-05/0.3659, allocations: 46.73 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.3676, allocations: 164.5 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/0.3681, allocations: 320.6 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.3683, allocations: 127.4 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.3683, allocations: 16.11 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.3694, allocations: 437.2 kB / 1.335 GB, free: 9.371 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3694, allocations: 0 / 1.335 GB, free: 9.371 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.3694, allocations: 8 kB / 1.335 GB, free: 9.363 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.381e-06/0.3694, allocations: 4 kB / 1.335 GB, free: 9.359 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.371, allocations: 0.5777 MB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.3729, allocations: 1.014 MB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004943/0.3779, allocations: 0.8377 MB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008037/0.3787, allocations: 300.7 kB / 1.338 GB, free: 6.578 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.3787, allocations: 0 / 1.338 GB, free: 6.578 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.3797, allocations: 447.2 kB / 1.338 GB, free: 6.129 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.953e-06/0.3797, allocations: 0 / 1.338 GB, free: 6.129 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002601/0.3823, allocations: 0.9213 MB / 1.339 GB, free: 5.203 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.3824, allocations: 55.41 kB / 1.339 GB, free: 5.137 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005071/0.3829, allocations: 437.6 kB / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.3829, allocations: 37.7 kB / 1.339 GB, free: 4.656 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.3831, allocations: 168.1 kB / 1.34 GB, free: 4.488 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.341e-05/0.3832, allocations: 55.52 kB / 1.34 GB, free: 4.434 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.3833, allocations: 53.67 kB / 1.34 GB, free: 4.375 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3835, allocations: 346.8 kB / 1.34 GB, free: 4.027 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009339/0.3844, allocations: 384.5 kB / 1.34 GB, free: 3.648 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009035/0.3853, allocations: 373.3 kB / 1.341 GB, free: 3.285 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.3869, allocations: 0.6011 MB / 1.341 GB, free: 2.676 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3869, allocations: 0 / 1.341 GB, free: 2.676 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002159/0.3891, allocations: 0.901 MB / 1.342 GB, free: 1.762 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.312e-05/0.3892, allocations: 43.41 kB / 1.342 GB, free: 1.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3892, allocations: 4 kB / 1.342 GB, free: 1.711 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3892, allocations: 0 / 1.342 GB, free: 1.711 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000595/0.3898, allocations: 71.86 kB / 1.342 GB, free: 1.641 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.3898, allocations: 0 / 1.342 GB, free: 1.641 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.3902, allocations: 43.84 kB / 1.342 GB, free: 1.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-05/0.3903, allocations: 15.98 kB / 1.342 GB, free: 1.582 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.0003116/0.3906, allocations: 188.6 kB / 1.343 GB, free: 1.391 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.3906, allocations: 39.7 kB / 1.343 GB, free: 1.352 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.404e-05/0.3907, allocations: 51.33 kB / 1.343 GB, free: 1.301 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3907, allocations: 0 / 1.343 GB, free: 1.301 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3907, allocations: 0 / 1.343 GB, free: 1.301 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3907, allocations: 7.938 kB / 1.343 GB, free: 1.293 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006462/0.3914, allocations: 0.5193 MB / 1.343 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3914, allocations: 0 / 1.343 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004533/0.3918, allocations: 63.91 kB / 1.343 GB, free: 0.668 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3919, allocations: 4 kB / 1.343 GB, free: 0.6641 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.3919, allocations: 7.984 kB / 1.343 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3919, allocations: 4 kB / 1.343 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3919, allocations: 0 / 1.343 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.3936, allocations: 0.6604 MB / 1.344 GB, free: 15.97 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.3938, allocations: 103.6 kB / 1.344 GB, free: 15.87 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.3939, allocations: 4 kB / 1.344 GB, free: 15.87 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004476/0.3943, allocations: 47.94 kB / 1.344 GB, free: 15.82 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.3944, allocations: 19.91 kB / 1.344 GB, free: 15.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.3944, allocations: 11.98 kB / 1.344 GB, free: 15.79 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003515/0.3948, allocations: 323.1 kB / 1.344 GB, free: 15.47 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3948, allocations: 0 / 1.344 GB, free: 15.47 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003794/0.3952, allocations: 79.94 kB / 1.344 GB, free: 15.39 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.002165/0.3973, allocations: 1.228 MB / 1.346 GB, free: 14.14 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001874/0.3992, allocations: 0.7527 MB / 1.346 GB, free: 13.37 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3992, allocations: 0 / 1.346 GB, free: 13.37 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008492/0.4001, allocations: 315.7 kB / 1.347 GB, free: 13.06 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.4005, allocations: 77.33 kB / 1.347 GB, free: 12.99 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.4111, allocations: 6.099 MB / 1.353 GB, free: 6.789 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.4115, allocations: 0.8104 MB / 1.353 GB, free: 5.953 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003726/0.4119, allocations: 106.2 kB / 1.354 GB, free: 5.852 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.4121, allocations: 107.4 kB / 1.354 GB, free: 5.746 MB / 1.045 GB Notification: Performance of SimCode: time 9.92e-07/0.4121, allocations: 0 / 1.354 GB, free: 5.746 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.4467, allocations: 11.06 MB / 1.364 GB, free: 10.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.23, allocations: 0 / 1.364 GB, free: 10.93 MB / 1.061 GB " [Timeout remaining time 288] (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.02670319902245] Failed to read output from testmodel.py, exit status != 0: 12.39086084999144 12.40840441 12.040254816 Calling exit ...