Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001323/0.001323, 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.001616/0.001616, allocations: 215.7 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.765/2.765, allocations: 476.7 MB / 0.7714 GB, free: 4.25 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.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001976/0.001976, allocations: 65 kB / 1.118 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3685, allocations: 169.9 MB / 1.284 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00374/0.3722, allocations: 2.193 MB / 1.286 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.3741, allocations: 1.094 MB / 1.287 GB, free: 496 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.3743, allocations: 3.938 kB / 1.287 GB, free: 492 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.032e-05/0.3743, allocations: 23.67 kB / 1.287 GB, free: 468 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.3747, allocations: 83.28 kB / 1.287 GB, free: 384 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.3751, allocations: 198.8 kB / 1.288 GB, free: 188 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.3755, allocations: 290.8 kB / 1.288 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.3757, allocations: 53.12 kB / 1.288 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.3758, allocations: 111.6 kB / 1.288 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.3761, allocations: 143.4 kB / 1.288 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.3761, allocations: 20 kB / 1.288 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004496/0.3766, allocations: 295.6 kB / 1.289 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.3766, allocations: 51.77 kB / 1.289 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.3767, allocations: 119.3 kB / 1.289 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.3771, allocations: 330.6 kB / 1.289 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3771, allocations: 4 kB / 1.289 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3771, allocations: 0 / 1.289 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.3772, allocations: 0 / 1.289 GB, free: 14.79 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001102/0.3783, allocations: 0.563 MB / 1.29 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3783, allocations: 8.031 kB / 1.29 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.838e-05/0.3783, allocations: 4.469 kB / 1.29 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.394e-05/0.3784, allocations: 54.73 kB / 1.29 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.3786, allocations: 40.73 kB / 1.29 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.379, allocations: 229.4 kB / 1.29 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.379, allocations: 8.656 kB / 1.29 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.3791, allocations: 16.38 kB / 1.29 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.3796, allocations: 232.6 kB / 1.29 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3796, allocations: 3.938 kB / 1.29 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.3796, allocations: 4 kB / 1.29 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3796, allocations: 8 kB / 1.29 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006696/0.3803, allocations: 199.8 kB / 1.29 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.3815, allocations: 0.9063 MB / 1.291 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00077/0.3822, allocations: 241.1 kB / 1.291 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.3826, allocations: 97.64 kB / 1.292 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.3826, allocations: 0 / 1.292 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.3826, allocations: 42.5 kB / 1.292 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 9.72e-07/0.3826, allocations: 0 / 1.292 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.001196/0.3838, allocations: 341.5 kB / 1.292 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.3839, allocations: 81.11 kB / 1.292 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.3842, allocations: 264.2 kB / 1.292 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.3842, allocations: 29.7 kB / 1.292 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.3843, allocations: 156.3 kB / 1.292 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.3844, allocations: 59.48 kB / 1.292 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.3844, allocations: 37.7 kB / 1.293 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3846, allocations: 342.8 kB / 1.293 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.3849, allocations: 87.91 kB / 1.293 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.3853, allocations: 145.9 kB / 1.293 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006817/0.386, allocations: 241.8 kB / 1.293 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.386, allocations: 0 / 1.293 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008569/0.3868, allocations: 297.1 kB / 1.294 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3868, allocations: 4 kB / 1.294 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3868, allocations: 4 kB / 1.294 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3869, allocations: 4.094 kB / 1.294 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.3871, allocations: 71.88 kB / 1.294 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3872, allocations: 4 kB / 1.294 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.3874, allocations: 35.86 kB / 1.294 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.3874, allocations: 8 kB / 1.294 GB, free: 9.703 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001393/0.3875, allocations: 141.6 kB / 1.294 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3877, allocations: 31.81 kB / 1.294 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008516/0.3885, allocations: 291.9 kB / 1.294 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3885, allocations: 8 kB / 1.294 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3885, allocations: 0 / 1.294 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3885, allocations: 0 / 1.294 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.3889, allocations: 268.5 kB / 1.294 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3889, allocations: 0 / 1.294 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.3892, allocations: 55.95 kB / 1.294 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.3892, allocations: 7.938 kB / 1.294 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.3892, allocations: 0 / 1.294 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3892, allocations: 3.984 kB / 1.294 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.3892, allocations: 8 kB / 1.294 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008653/0.3901, allocations: 442.4 kB / 1.295 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.3901, allocations: 23.8 kB / 1.295 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.3901, allocations: 7.984 kB / 1.295 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.3904, allocations: 23.97 kB / 1.295 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.3905, allocations: 19.91 kB / 1.295 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3905, allocations: 12 kB / 1.295 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001908/0.3907, allocations: 187.1 kB / 1.295 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3907, allocations: 4 kB / 1.295 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003613/0.391, allocations: 59.89 kB / 1.295 GB, free: 8.062 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001264/0.3923, allocations: 0.9866 MB / 1.296 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007577/0.3931, allocations: 232 kB / 1.296 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3931, allocations: 0 / 1.296 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003633/0.3934, allocations: 115.8 kB / 1.297 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.394, allocations: 72.3 kB / 1.297 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/0.3982, allocations: 2.713 MB / 1.299 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.3986, allocations: 0.7482 MB / 1.3 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001534/0.3987, allocations: 38.36 kB / 1.3 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.3989, allocations: 87.41 kB / 1.3 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.3989, allocations: 0 / 1.3 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.428, allocations: 6.815 MB / 1.307 GB, free: 12.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.52, allocations: 8.047 kB / 1.307 GB, free: 12.31 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.043179080006666] Failed to read output from testmodel.py, exit status != 0: 11.676659508957528 11.691473709 11.311178782 Calling exit ...