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.001515/0.001515, allocations: 114.3 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.001837/0.001837, allocations: 216.6 kB / 22.26 MB, free: 5.082 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.321/1.321, allocations: 230.6 MB / 256 MB, free: 8.008 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.002452/0.002452, allocations: 287.9 kB / 312.7 MB, free: 2.809 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.138/1.138, allocations: 180.6 MB / 0.5369 GB, free: 13.02 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.003211/0.003211, allocations: 100.3 kB / 0.7396 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1583, allocations: 95.39 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.003608/0.1619, allocations: 2.134 MB / 0.8348 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.164, allocations: 1.224 MB / 0.836 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.1642, allocations: 4 kB / 0.836 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004319/0.1646, allocations: 123.5 kB / 0.8361 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.1648, allocations: 47.53 kB / 0.8362 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007605/0.1655, allocations: 272.9 kB / 0.8365 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004157/0.1659, allocations: 295.3 kB / 0.8367 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.1661, allocations: 67.45 kB / 0.8368 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.1662, allocations: 107.7 kB / 0.8369 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.1664, allocations: 135.4 kB / 0.837 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.781e-05/0.1665, allocations: 32 kB / 0.8371 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.1669, allocations: 251.7 kB / 0.8373 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.167, allocations: 91.73 kB / 0.8374 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.1672, allocations: 151.2 kB / 0.8375 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006836/0.1679, allocations: 0.5644 MB / 0.8381 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1679, allocations: 0 / 0.8381 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1679, allocations: 4 kB / 0.8381 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.1679, 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.001224/0.1691, allocations: 0.7369 MB / 0.8388 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1692, allocations: 12.69 kB / 0.8388 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.902e-05/0.1692, allocations: 54.73 kB / 0.8389 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.525e-05/0.1693, allocations: 36.7 kB / 0.8389 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.1697, allocations: 258.8 kB / 0.8392 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.1697, allocations: 16.66 kB / 0.8392 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.1697, allocations: 16.38 kB / 0.8392 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005889/0.1703, allocations: 299 kB / 0.8395 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1703, allocations: 7.922 kB / 0.8395 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.1703, allocations: 12 kB / 0.8395 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.1704, allocations: 4 kB / 0.8395 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/0.171, allocations: 264.4 kB / 0.8397 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009696/0.1719, allocations: 0.6512 MB / 0.8404 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/0.1724, allocations: 218.6 kB / 0.8406 GB, free: 456 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.1728, allocations: 184.7 kB / 0.8408 GB, free: 268 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.1728, allocations: 4 kB / 0.8408 GB, free: 264 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1728, allocations: 34.56 kB / 0.8408 GB, free: 220 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.1728, allocations: 0 / 0.8408 GB, free: 220 kB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.001318/0.1742, allocations: 0.6677 MB / 0.8415 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.837e-05/0.1743, allocations: 136.5 kB / 0.8416 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/0.1747, allocations: 380.5 kB / 0.8419 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.1747, allocations: 37.64 kB / 0.842 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.1748, allocations: 172.3 kB / 0.8421 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.1749, allocations: 47.64 kB / 0.8422 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/0.1749, allocations: 49.83 kB / 0.8422 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1751, allocations: 342.8 kB / 0.8426 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/0.1755, allocations: 243.8 kB / 0.8428 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/0.1759, allocations: 242.3 kB / 0.843 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009109/0.1768, allocations: 0.6718 MB / 0.8437 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1768, allocations: 112 / 0.8437 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001061/0.1779, allocations: 0.7422 MB / 0.8444 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.178, allocations: 178.2 kB / 0.8446 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.178, allocations: 3.984 kB / 0.8446 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.178, allocations: 0 / 0.8446 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.1782, allocations: 31.91 kB / 0.8446 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.1782, allocations: 0 / 0.8446 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.1784, allocations: 51.75 kB / 0.8447 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.1784, allocations: 8 kB / 0.8447 GB, free: 12.03 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.0002238/0.1787, allocations: 259.5 kB / 0.8449 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.177e-05/0.1787, allocations: 31.81 kB / 0.845 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.1788, allocations: 30.88 kB / 0.845 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1788, allocations: 4 kB / 0.845 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1788, allocations: 0 / 0.845 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1788, allocations: 4 kB / 0.845 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.1791, allocations: 324.4 kB / 0.8453 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1791, allocations: 0 / 0.8453 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.1793, allocations: 31.91 kB / 0.8453 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1793, allocations: 0 / 0.8453 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.1793, allocations: 4 kB / 0.8453 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1793, allocations: 0 / 0.8453 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1793, allocations: 0 / 0.8453 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009173/0.1802, allocations: 0.6197 MB / 0.8459 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.1803, allocations: 39.73 kB / 0.846 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/0.1803, allocations: 8 kB / 0.846 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.1805, allocations: 27.97 kB / 0.846 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.1806, allocations: 27.95 kB / 0.846 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1806, allocations: 8 kB / 0.846 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002833/0.1809, allocations: 275 kB / 0.8463 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1809, allocations: 0 / 0.8463 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003928/0.1813, allocations: 111.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.001428/0.1828, allocations: 1.217 MB / 0.8476 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.1839, allocations: 0.8086 MB / 0.8484 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1839, allocations: 3.938 kB / 0.8484 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004777/0.1843, allocations: 366.4 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.0004109/0.1847, allocations: 77 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.005856/0.1906, allocations: 4.421 MB / 0.8531 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.191, allocations: 0.7908 MB / 0.8539 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.912e-05/0.1911, 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.0001396/0.1912, allocations: 95.34 kB / 0.854 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of SimCode: time 9.32e-07/0.1912, allocations: 0 / 0.854 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03776/0.229, allocations: 8.903 MB / 0.8627 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.84, allocations: 7.969 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.638821022119373] Failed to read output from testmodel.py, exit status != 0: 10.939825345994905 10.954438826 10.783636542 Calling exit ...