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.001316/0.001316, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00155/0.00155, allocations: 211.8 kB / 22.24 MB, free: 5.262 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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.002455/0.002455, allocations: 282.5 kB / 312.7 MB, free: 2.621 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.151/1.151, allocations: 180.6 MB / 0.5369 GB, free: 14.64 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.003065/0.003065, allocations: 102 kB / 0.7395 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1566, allocations: 95.39 MB / 0.8327 GB, free: 8.312 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003503/0.1601, allocations: 2.023 MB / 0.8346 GB, free: 6.277 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.1621, allocations: 1.134 MB / 0.8357 GB, free: 5.133 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.1622, allocations: 11.88 kB / 0.8358 GB, free: 5.121 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0004312/0.1627, allocations: 115.6 kB / 0.8359 GB, free: 5.008 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.1628, allocations: 47.58 kB / 0.8359 GB, free: 4.961 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007807/0.1636, allocations: 261 kB / 0.8362 GB, free: 4.707 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.164, allocations: 295.3 kB / 0.8364 GB, free: 4.418 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.1642, allocations: 71.42 kB / 0.8365 GB, free: 4.34 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.1643, allocations: 103.6 kB / 0.8366 GB, free: 4.238 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.1645, allocations: 127.4 kB / 0.8367 GB, free: 4.113 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.1645, allocations: 28 kB / 0.8368 GB, free: 4.086 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.1649, allocations: 235.7 kB / 0.837 GB, free: 3.855 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.165, allocations: 95.72 kB / 0.8371 GB, free: 3.762 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.1652, allocations: 119.3 kB / 0.8372 GB, free: 3.645 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0007099/0.1659, allocations: 0.5605 MB / 0.8377 GB, free: 3.082 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1659, allocations: 4 kB / 0.8377 GB, free: 3.078 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1659, allocations: 4 kB / 0.8377 GB, free: 3.074 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.1659, allocations: 0 / 0.8377 GB, free: 3.074 MB / 0.5763 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.001332/0.1672, allocations: 0.7408 MB / 0.8385 GB, free: 2.266 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1673, allocations: 8.75 kB / 0.8385 GB, free: 2.258 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.767e-05/0.1673, allocations: 50.73 kB / 0.8385 GB, free: 2.199 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.634e-05/0.1674, allocations: 40.7 kB / 0.8386 GB, free: 2.16 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.1678, allocations: 266.8 kB / 0.8388 GB, free: 1.875 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.1679, allocations: 12.66 kB / 0.8388 GB, free: 1.863 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.1679, allocations: 24.31 kB / 0.8389 GB, free: 1.84 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006639/0.1686, allocations: 384.1 kB / 0.8392 GB, free: 1.441 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1686, allocations: 0 / 0.8392 GB, free: 1.441 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.1686, allocations: 8 kB / 0.8392 GB, free: 1.434 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1686, allocations: 4 kB / 0.8392 GB, free: 1.43 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007051/0.1693, allocations: 361.5 kB / 0.8396 GB, free: 1.059 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.1703, allocations: 0.585 MB / 0.8401 GB, free: 440 kB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.1709, allocations: 315.7 kB / 0.8404 GB, free: 96 kB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004548/0.1714, allocations: 269.8 kB / 0.8407 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.1714, allocations: 3.938 kB / 0.8407 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1714, allocations: 34.56 kB / 0.8407 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.1714, allocations: 0 / 0.8407 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.00147/0.1729, allocations: 0.858 MB / 0.8416 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.1731, allocations: 136.5 kB / 0.8417 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.1735, allocations: 376.5 kB / 0.8421 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.1735, allocations: 33.7 kB / 0.8421 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.1736, allocations: 172.4 kB / 0.8423 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.1737, allocations: 43.64 kB / 0.8423 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.844e-05/0.1738, allocations: 49.7 kB / 0.8424 GB, free: 14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1739, allocations: 342.8 kB / 0.8427 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/0.1745, allocations: 426 kB / 0.8431 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005427/0.175, allocations: 420.7 kB / 0.8435 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009656/0.176, allocations: 0.6992 MB / 0.8442 GB, free: 12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.176, allocations: 0 / 0.8442 GB, free: 12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001214/0.1772, allocations: 0.92 MB / 0.8451 GB, free: 11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.1773, allocations: 186.2 kB / 0.8452 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1773, allocations: 0 / 0.8452 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1773, allocations: 0 / 0.8452 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.1775, allocations: 27.97 kB / 0.8453 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1775, allocations: 4 kB / 0.8453 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.1777, allocations: 51.75 kB / 0.8453 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.1778, allocations: 4 kB / 0.8453 GB, free: 10.69 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.0002269/0.178, allocations: 263.5 kB / 0.8456 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.178, allocations: 27.81 kB / 0.8456 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.973e-05/0.1781, allocations: 30.88 kB / 0.8456 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1781, allocations: 0 / 0.8456 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1781, allocations: 0 / 0.8456 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1781, allocations: 0 / 0.8456 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.1784, allocations: 280.5 kB / 0.8459 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1784, allocations: 3.938 kB / 0.8459 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.1786, allocations: 31.97 kB / 0.8459 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1786, allocations: 0 / 0.8459 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.1786, allocations: 8 kB / 0.8459 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1786, allocations: 0 / 0.8459 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1786, allocations: 4 kB / 0.846 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.1796, allocations: 0.7044 MB / 0.8466 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.1797, allocations: 35.75 kB / 0.8467 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.1797, allocations: 7.984 kB / 0.8467 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.1799, allocations: 27.97 kB / 0.8467 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.18, allocations: 35.89 kB / 0.8467 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.1801, allocations: 8 kB / 0.8468 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003014/0.1804, allocations: 282.9 kB / 0.847 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1804, allocations: 0 / 0.847 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004074/0.1808, allocations: 111.8 kB / 0.8471 GB, free: 8.727 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.001523/0.1823, allocations: 1.306 MB / 0.8484 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.1836, allocations: 1.081 MB / 0.8495 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1836, allocations: 0 / 0.8495 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005536/0.1842, allocations: 455.1 kB / 0.8499 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.1847, allocations: 75.81 kB / 0.85 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006378/0.191, allocations: 5.29 MB / 0.8551 GB, free: 4 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.1912, allocations: 166.2 kB / 0.8553 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.717e-05/0.1913, allocations: 29.94 kB / 0.8553 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.1915, allocations: 99.33 kB / 0.8554 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.1915, allocations: 0 / 0.8554 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03828/0.2298, allocations: 9.773 MB / 0.865 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.11, allocations: 11.91 kB / 0.865 GB, free: 6.203 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: 15.115046855062246] Failed to read output from testmodel.py, exit status != 0: 11.214732556138188 11.23088272 11.061720241 Calling exit ...