Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.001449/0.001449, allocations: 115.9 kB / 17.16 MB, free: 5.895 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.001565/0.001565, allocations: 215 kB / 20.13 MB, free: 2.949 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.386/1.386, 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 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.657/2.657, allocations: 476.7 MB / 0.7678 GB, free: 9.355 MB / 0.6075 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.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",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.0019/0.0019, allocations: 65.62 kB / 1.113 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8425/0.8444, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003639/0.8481, allocations: 2.133 MB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.8502, allocations: 1.223 MB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.8504, allocations: 7.281 kB / 1.282 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004692/0.8508, allocations: 119.6 kB / 1.282 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.851, allocations: 50.03 kB / 1.282 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008174/0.8518, allocations: 265.1 kB / 1.283 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.8521, allocations: 295.4 kB / 1.283 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.8523, allocations: 68.44 kB / 1.283 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.8524, allocations: 110.7 kB / 1.283 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.8526, allocations: 131.4 kB / 1.283 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.781e-05/0.8527, allocations: 30.38 kB / 1.283 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00039/0.8531, allocations: 238.9 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.8532, allocations: 86 kB / 1.284 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.8533, allocations: 157.5 kB / 1.284 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008154/0.8541, allocations: 0.5534 MB / 1.284 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8541, allocations: 4 kB / 1.284 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8541, allocations: 1.188 kB / 1.284 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.8541, allocations: 0.5625 kB / 1.284 GB, free: 8.477 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.00132/0.8555, allocations: 0.816 MB / 1.285 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.8555, allocations: 13.47 kB / 1.285 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.587e-05/0.8555, allocations: 8.5 kB / 1.285 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.8556, allocations: 47.58 kB / 1.285 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.985e-05/0.8557, allocations: 34.86 kB / 1.285 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.8561, allocations: 332.5 kB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.8561, allocations: 12.66 kB / 1.285 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.8562, allocations: 16.56 kB / 1.286 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006514/0.8568, allocations: 310.9 kB / 1.286 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.8568, allocations: 0 / 1.286 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.8568, allocations: 6.906 kB / 1.286 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.8568, allocations: 3.344 kB / 1.286 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006779/0.8575, allocations: 269.9 kB / 1.286 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.8586, allocations: 0.672 MB / 1.287 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000541/0.8591, allocations: 222 kB / 1.287 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003884/0.8595, allocations: 183.1 kB / 1.287 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.8595, allocations: 1.062 kB / 1.287 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.8595, allocations: 31.84 kB / 1.287 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.8595, allocations: 5.062 kB / 1.287 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.00137/0.8609, allocations: 0.6698 MB / 1.288 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.602e-05/0.861, allocations: 138.8 kB / 1.288 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004214/0.8614, allocations: 376.6 kB / 1.288 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.8615, allocations: 32.27 kB / 1.288 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.8616, allocations: 166.2 kB / 1.288 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.8616, allocations: 46.86 kB / 1.289 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.517e-05/0.8617, allocations: 47.06 kB / 1.289 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.8619, allocations: 343.1 kB / 1.289 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004512/0.8624, allocations: 239 kB / 1.289 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.8628, allocations: 241 kB / 1.289 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009836/0.8638, allocations: 0.6907 MB / 1.29 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.8638, allocations: 0.75 kB / 1.29 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001144/0.8649, allocations: 0.7308 MB / 1.291 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.8651, allocations: 185.4 kB / 1.291 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.8651, allocations: 0 / 1.291 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.8651, allocations: 1.5 kB / 1.291 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.8653, allocations: 31.19 kB / 1.291 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.8653, allocations: 1.375 kB / 1.291 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.8655, allocations: 45.78 kB / 1.291 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.8655, allocations: 8.016 kB / 1.291 GB, free: 4.199 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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.0002482/0.8658, allocations: 263 kB / 1.291 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.324e-05/0.8658, allocations: 30.44 kB / 1.291 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.639e-05/0.8659, allocations: 28.12 kB / 1.291 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.8659, allocations: 6.406 kB / 1.291 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.8659, allocations: 3.938 kB / 1.291 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.8659, allocations: 1.312 kB / 1.291 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.8663, allocations: 354 kB / 1.292 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.8663, allocations: 0 / 1.292 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.8665, allocations: 32.47 kB / 1.292 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.8665, allocations: 1.406 kB / 1.292 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.8665, allocations: 3.938 kB / 1.292 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.8665, allocations: 1.062 kB / 1.292 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8665, allocations: 4.562 kB / 1.292 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.8675, allocations: 0.6191 MB / 1.292 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.058e-05/0.8676, allocations: 108.6 kB / 1.292 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.8676, allocations: 9.312 kB / 1.292 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.8679, allocations: 32.56 kB / 1.292 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.868, allocations: 28.33 kB / 1.292 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.868, allocations: 4.906 kB / 1.292 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002952/0.8683, allocations: 273.4 kB / 1.293 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.8683, allocations: 0 / 1.293 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004849/0.8688, allocations: 107.6 kB / 1.293 GB, free: 2.996 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.001538/0.8703, allocations: 1.221 MB / 1.294 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.8715, allocations: 0.8121 MB / 1.295 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8715, allocations: 1.312 kB / 1.295 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000512/0.872, allocations: 363.7 kB / 1.295 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.8725, allocations: 79.16 kB / 1.295 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006181/0.8786, allocations: 4.445 MB / 1.3 GB, free: 14.89 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.8791, allocations: 0.7831 MB / 1.3 GB, free: 14.18 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.8792, allocations: 23.28 kB / 1.3 GB, free: 14.17 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.8793, allocations: 92.94 kB / 1.3 GB, free: 14.1 MB / 1.014 GB Notification: Performance of SimCode: time 7.21e-07/0.8793, allocations: 0 / 1.3 GB, free: 14.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.9089, allocations: 8.774 MB / 1.309 GB, free: 13.08 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/9.257, allocations: 4.125 kB / 1.309 GB, free: 13.08 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.980475264019333] Failed to read output from testmodel.py, exit status != 0: 9.396650255017448 9.418505759 8.559939245 Calling exit ...