Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00128/0.00128, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.001345/0.001345, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.34/1.34, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002352/0.002352, allocations: 282 kB / 309.1 MB, free: 3.973 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.135/1.135, allocations: 180.9 MB / 0.5333 GB, free: 13.91 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002819/0.002819, allocations: 112.4 kB / 0.7343 GB, free: 28.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1567, allocations: 95.34 MB / 0.8274 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003294/0.16, allocations: 2.108 MB / 0.8294 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001832/0.1619, allocations: 1.212 MB / 0.8306 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.483e-05/0.162, allocations: 4 kB / 0.8306 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.1623, allocations: 123.6 kB / 0.8307 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.666e-05/0.1624, allocations: 47.58 kB / 0.8308 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006346/0.1631, allocations: 263.4 kB / 0.831 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003231/0.1634, allocations: 299.2 kB / 0.8313 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.1635, allocations: 71.05 kB / 0.8314 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1636, allocations: 107.7 kB / 0.8315 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1638, allocations: 131.4 kB / 0.8316 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.151e-05/0.1638, allocations: 28 kB / 0.8316 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003457/0.1642, allocations: 243.7 kB / 0.8319 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.592e-05/0.1643, allocations: 87.73 kB / 0.832 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.1644, allocations: 151.2 kB / 0.8321 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005979/0.165, allocations: 0.5527 MB / 0.8326 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.165, allocations: 0 / 0.8326 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.165, allocations: 0 / 0.8326 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.165, allocations: 3.984 kB / 0.8326 GB, free: 4.492 MB / 0.5762 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.001144/0.1662, allocations: 0.8201 MB / 0.8334 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1662, allocations: 12.62 kB / 0.8335 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.572e-05/0.1663, allocations: 46.73 kB / 0.8335 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.1663, allocations: 36.7 kB / 0.8335 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.1667, allocations: 328.5 kB / 0.8339 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1667, allocations: 12.66 kB / 0.8339 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.1668, allocations: 16.38 kB / 0.8339 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005844/0.1673, allocations: 295 kB / 0.8342 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1674, allocations: 7.984 kB / 0.8342 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.1674, allocations: 4 kB / 0.8342 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1674, allocations: 7.938 kB / 0.8342 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006597/0.1681, allocations: 276.4 kB / 0.8344 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009177/0.169, allocations: 0.6756 MB / 0.8351 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/0.1695, allocations: 218.6 kB / 0.8353 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003899/0.1699, allocations: 188.7 kB / 0.8355 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.1699, allocations: 4 kB / 0.8355 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.1699, allocations: 34.5 kB / 0.8355 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.1699, allocations: 4 kB / 0.8355 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.001338/0.1713, allocations: 0.6624 MB / 0.8362 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/0.1713, allocations: 136.5 kB / 0.8363 GB, free: 484 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.1717, allocations: 384.5 kB / 0.8367 GB, free: 96 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.1718, allocations: 29.7 kB / 0.8367 GB, free: 60 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.1719, allocations: 168.4 kB / 0.8369 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.1719, allocations: 39.64 kB / 0.8369 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/0.172, allocations: 49.7 kB / 0.837 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1722, allocations: 342.8 kB / 0.8373 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/0.1726, allocations: 247.9 kB / 0.8375 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.1731, allocations: 239.8 kB / 0.8377 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009391/0.174, allocations: 0.6824 MB / 0.8384 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.174, allocations: 0 / 0.8384 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001085/0.1751, allocations: 0.7288 MB / 0.8391 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.1752, allocations: 186.3 kB / 0.8393 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1752, allocations: 3.938 kB / 0.8393 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1752, allocations: 0 / 0.8393 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.1754, allocations: 35.91 kB / 0.8393 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1754, allocations: 0 / 0.8393 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.1756, allocations: 47.75 kB / 0.8394 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.1756, allocations: 8 kB / 0.8394 GB, free: 13.16 MB / 0.5919 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.0002234/0.1759, allocations: 262.8 kB / 0.8396 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.1759, allocations: 31.81 kB / 0.8397 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/0.176, allocations: 34.94 kB / 0.8397 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.176, allocations: 0 / 0.8397 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.176, allocations: 0 / 0.8397 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.176, allocations: 0 / 0.8397 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.1763, allocations: 353.3 kB / 0.84 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1763, allocations: 0 / 0.84 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.1765, allocations: 31.97 kB / 0.8401 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1765, allocations: 0 / 0.8401 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.1765, allocations: 4 kB / 0.8401 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1765, allocations: 7.938 kB / 0.8401 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1765, allocations: 0 / 0.8401 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009701/0.1775, allocations: 0.6134 MB / 0.8407 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.748e-05/0.1776, allocations: 120.9 kB / 0.8408 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.1776, allocations: 4 kB / 0.8408 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.1778, allocations: 31.95 kB / 0.8408 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.1779, allocations: 23.97 kB / 0.8409 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.1779, allocations: 4 kB / 0.8409 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002748/0.1782, allocations: 271 kB / 0.8411 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1782, allocations: 3.938 kB / 0.8411 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003948/0.1786, allocations: 115.8 kB / 0.8412 GB, free: 11.14 MB / 0.5919 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.001453/0.1801, allocations: 1.221 MB / 0.8424 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.1812, allocations: 0.8125 MB / 0.8432 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1812, allocations: 0 / 0.8432 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005093/0.1817, allocations: 366.1 kB / 0.8436 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.1821, allocations: 67.11 kB / 0.8436 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005749/0.1879, allocations: 4.443 MB / 0.848 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.1883, allocations: 0.7792 MB / 0.8487 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.873e-05/0.1884, allocations: 25.94 kB / 0.8488 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.1885, allocations: 93.8 kB / 0.8488 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.1885, allocations: 3.938 kB / 0.8488 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/0.221, allocations: 8.747 MB / 0.8574 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.126/8.347, allocations: 20.36 kB / 0.8574 GB, free: 10.54 MB / 0.6075 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.174725610297173] Failed to read output from testmodel.py, exit status != 0: 8.414233251940459 8.42639605 8.258880981 Calling exit ...