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.001453/0.001453, allocations: 113 kB / 18.94 MB, free: 2.934 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.001657/0.001657, allocations: 210.9 kB / 22.25 MB, free: 5.086 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.305/1.305, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002383/0.002383, allocations: 280.8 kB / 312.7 MB, free: 2.945 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.147/1.147, allocations: 180.6 MB / 0.5369 GB, free: 13.13 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002727/0.002727, allocations: 105 kB / 0.7396 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1573, allocations: 95.38 MB / 0.8327 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003407/0.1607, allocations: 2.139 MB / 0.8348 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1627, allocations: 1.216 MB / 0.836 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1628, allocations: 8 kB / 0.836 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003917/0.1632, allocations: 127.5 kB / 0.8362 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.1633, allocations: 43.59 kB / 0.8362 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006843/0.164, allocations: 263.9 kB / 0.8364 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004096/0.1644, allocations: 303.2 kB / 0.8367 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.1645, allocations: 68.31 kB / 0.8368 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1646, allocations: 107.7 kB / 0.8369 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.1648, allocations: 139.4 kB / 0.837 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.092e-05/0.1649, allocations: 31.94 kB / 0.8371 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.1653, allocations: 255.7 kB / 0.8373 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1654, allocations: 87.73 kB / 0.8374 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.1656, allocations: 159.2 kB / 0.8375 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006354/0.1662, allocations: 0.5566 MB / 0.8381 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1662, allocations: 0 / 0.8381 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1662, allocations: 0 / 0.8381 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.1662, allocations: 0 / 0.8381 GB, free: 3.164 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.001163/0.1674, allocations: 0.7448 MB / 0.8388 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1674, allocations: 8.75 kB / 0.8388 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.332e-05/0.1675, allocations: 50.73 kB / 0.8389 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/0.1675, allocations: 36.7 kB / 0.8389 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.1679, allocations: 258.8 kB / 0.8392 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.1679, allocations: 16.59 kB / 0.8392 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.168, allocations: 16.38 kB / 0.8392 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005993/0.1686, allocations: 303 kB / 0.8395 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1686, allocations: 0 / 0.8395 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.1686, allocations: 8 kB / 0.8395 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.1686, allocations: 11.92 kB / 0.8395 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006166/0.1692, allocations: 264.4 kB / 0.8397 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009534/0.1702, allocations: 0.651 MB / 0.8404 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/0.1707, allocations: 218.6 kB / 0.8406 GB, free: 456 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/0.1711, allocations: 188.7 kB / 0.8408 GB, free: 264 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.1711, allocations: 4 kB / 0.8408 GB, free: 260 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1711, allocations: 30.56 kB / 0.8408 GB, free: 220 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.1711, allocations: 0 / 0.8408 GB, free: 220 kB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.001288/0.1724, allocations: 0.6716 MB / 0.8415 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.558e-05/0.1725, allocations: 136.5 kB / 0.8416 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.1729, allocations: 384.5 kB / 0.842 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.1729, allocations: 29.7 kB / 0.842 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.1731, allocations: 172.3 kB / 0.8421 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.1731, allocations: 39.64 kB / 0.8422 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.213e-05/0.1732, allocations: 49.83 kB / 0.8422 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1733, allocations: 342.8 kB / 0.8426 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004306/0.1738, allocations: 255.8 kB / 0.8428 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.1742, allocations: 234.7 kB / 0.843 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009259/0.1751, allocations: 0.6757 MB / 0.8437 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1751, allocations: 4 kB / 0.8437 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001064/0.1762, allocations: 0.7267 MB / 0.8444 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.1763, allocations: 186.3 kB / 0.8446 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1763, allocations: 3.938 kB / 0.8446 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1763, allocations: 0 / 0.8446 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.1765, allocations: 39.84 kB / 0.8446 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1765, allocations: 0 / 0.8446 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.1767, allocations: 47.75 kB / 0.8447 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.1767, allocations: 12 kB / 0.8447 GB, free: 12.02 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.0002285/0.1769, allocations: 259.5 kB / 0.8449 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.676e-05/0.177, allocations: 31.81 kB / 0.845 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/0.177, allocations: 34.88 kB / 0.845 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.177, allocations: 0 / 0.845 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.177, allocations: 0 / 0.845 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.177, allocations: 0 / 0.845 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.1774, allocations: 324.4 kB / 0.8453 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1774, allocations: 0 / 0.8453 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.1775, allocations: 27.97 kB / 0.8453 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1775, allocations: 0 / 0.8453 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.1776, allocations: 8 kB / 0.8453 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1776, allocations: 3.938 kB / 0.8453 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1776, allocations: 4 kB / 0.8453 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000949/0.1785, allocations: 0.6104 MB / 0.8459 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.1786, allocations: 43.73 kB / 0.846 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.1786, allocations: 8 kB / 0.846 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.1788, allocations: 27.97 kB / 0.846 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.1789, allocations: 27.95 kB / 0.846 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.1789, allocations: 8 kB / 0.846 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002847/0.1792, allocations: 267 kB / 0.8463 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.1792, allocations: 0 / 0.8463 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003803/0.1796, allocations: 115.8 kB / 0.8464 GB, free: 10.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.001399/0.181, allocations: 1.219 MB / 0.8476 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.1821, allocations: 0.8165 MB / 0.8484 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1821, allocations: 0 / 0.8484 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004887/0.1826, allocations: 362.1 kB / 0.8487 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.183, allocations: 73.31 kB / 0.8488 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005714/0.1887, allocations: 4.435 MB / 0.8531 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.1892, allocations: 0.7791 MB / 0.8539 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.17e-05/0.1893, allocations: 25.94 kB / 0.8539 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.1894, allocations: 91.41 kB / 0.854 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.1894, allocations: 0 / 0.854 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/0.2268, allocations: 8.911 MB / 0.8627 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.56, allocations: 9.703 kB / 0.8627 GB, free: 9.387 MB / 0.6075 GB " [Timeout remaining time 649] (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: 14.428921044000163] Failed to read output from testmodel.py, exit status != 0: 10.67109827600143 10.688934008 10.519305613 Calling exit ...