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.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.001905/0.001905, 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.002155/0.002155, 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.741/1.741, allocations: 225.6 MB / 249.4 MB, free: 3.152 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.952/2.952, allocations: 476.7 MB / 0.7629 GB, free: 15.1 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.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 63.91 kB / 1.107 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.067, allocations: 168.7 MB / 1.272 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003807/1.071, allocations: 2.181 MB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001927/1.073, allocations: 1.062 MB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/1.073, allocations: 6.844 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.558e-05/1.073, allocations: 27.42 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003514/1.074, allocations: 78.78 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/1.074, allocations: 193.5 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003865/1.074, allocations: 291.3 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/1.075, allocations: 48.08 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/1.075, allocations: 110.3 kB / 1.275 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/1.075, allocations: 144.2 kB / 1.276 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.784e-05/1.075, allocations: 18.12 kB / 1.276 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005241/1.076, allocations: 296.9 kB / 1.276 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/1.076, allocations: 52.91 kB / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/1.076, allocations: 114 kB / 1.276 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004937/1.076, allocations: 339.7 kB / 1.276 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.076, allocations: 0.8125 kB / 1.276 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.814e-06/1.076, allocations: 0 / 1.276 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.036e-06/1.076, allocations: 0 / 1.276 GB, free: 4.66 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/1.077, allocations: 0.6376 MB / 1.277 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/1.077, allocations: 13.66 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.01e-05/1.077, allocations: 46.66 kB / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002437/1.078, allocations: 38.75 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/1.078, allocations: 283.7 kB / 1.277 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/1.078, allocations: 10.06 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/1.078, allocations: 18.88 kB / 1.277 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/1.079, allocations: 235.7 kB / 1.278 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/1.079, allocations: 0 / 1.278 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/1.079, allocations: 10.53 kB / 1.278 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/1.079, allocations: 3.844 kB / 1.278 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007236/1.08, allocations: 192.1 kB / 1.278 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/1.081, allocations: 0.9508 MB / 1.279 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008006/1.081, allocations: 232.7 kB / 1.279 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/1.082, allocations: 100 kB / 1.279 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/1.082, allocations: 5.656 kB / 1.279 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/1.082, allocations: 45.11 kB / 1.279 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/1.082, allocations: 0 / 1.279 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.001292/1.083, allocations: 336 kB / 1.279 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/1.083, allocations: 79.62 kB / 1.279 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/1.083, allocations: 277.7 kB / 1.28 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/1.084, allocations: 25.7 kB / 1.28 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.084, allocations: 159.1 kB / 1.28 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/1.084, allocations: 62.95 kB / 1.28 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.377e-05/1.084, allocations: 42.91 kB / 1.28 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.835e-05/1.084, allocations: 337.3 kB / 1.28 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/1.084, allocations: 88.3 kB / 1.28 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003842/1.085, allocations: 142 kB / 1.281 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007308/1.085, allocations: 240.3 kB / 1.281 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.085, allocations: 1.125 kB / 1.281 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009538/1.086, allocations: 295.7 kB / 1.281 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/1.086, allocations: 9.844 kB / 1.281 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.086, allocations: 7.766 kB / 1.281 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/1.086, allocations: 1.938 kB / 1.281 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/1.087, allocations: 56.47 kB / 1.281 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/1.087, allocations: 6.984 kB / 1.281 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/1.087, allocations: 42.39 kB / 1.281 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/1.087, allocations: 14.98 kB / 1.281 GB, free: 1.34 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.0001236/1.087, allocations: 132.5 kB / 1.281 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/1.087, allocations: 34.78 kB / 1.281 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008623/1.088, allocations: 289.9 kB / 1.282 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.088, allocations: 1.469 kB / 1.282 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.088, allocations: 1.844 kB / 1.282 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.088, allocations: 1.453 kB / 1.282 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/1.088, allocations: 298.8 kB / 1.282 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.088, allocations: 0 / 1.282 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/1.089, allocations: 56.48 kB / 1.282 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.676e-06/1.089, allocations: 0 / 1.282 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/1.089, allocations: 10.95 kB / 1.282 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.089, allocations: 2.062 kB / 1.282 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.089, allocations: 0 / 1.282 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008284/1.09, allocations: 446.9 kB / 1.282 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/1.09, allocations: 102.5 kB / 1.283 GB, free: 448 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/1.09, allocations: 6.625 kB / 1.283 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/1.09, allocations: 27.16 kB / 1.283 GB, free: 440 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/1.09, allocations: 19.58 kB / 1.283 GB, free: 436 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/1.09, allocations: 2.125 kB / 1.283 GB, free: 436 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001758/1.09, allocations: 195.5 kB / 1.283 GB, free: 320 kB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.09, allocations: 0 / 1.283 GB, free: 320 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003831/1.091, allocations: 60.02 kB / 1.283 GB, free: 308 kB / 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.00131/1.092, allocations: 0.9962 MB / 1.284 GB, free: 15.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008035/1.093, allocations: 215.7 kB / 1.284 GB, free: 15.44 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/1.093, allocations: 0 / 1.284 GB, free: 15.44 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003695/1.093, allocations: 117.6 kB / 1.284 GB, free: 15.41 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/1.094, allocations: 81.77 kB / 1.284 GB, free: 15.38 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004645/1.098, allocations: 2.726 MB / 1.287 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/1.099, allocations: 0.751 MB / 1.288 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002009/1.099, allocations: 34.53 kB / 1.288 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/1.099, allocations: 86.2 kB / 1.288 GB, free: 12.75 MB / 1.014 GB Notification: Performance of SimCode: time 1.483e-06/1.099, allocations: 0 / 1.288 GB, free: 12.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/1.135, allocations: 6.584 MB / 1.294 GB, free: 12.03 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.584/9.72, allocations: 14.81 kB / 1.294 GB, free: 12.02 MB / 1.014 GB " [Timeout remaining time 290] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 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: 16.334362111025257] Failed to read output from testmodel.py, exit status != 0: 9.79472611300298 9.812011456 8.732153002 Calling exit ...