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.001807/0.001807, 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.002348/0.002348, allocations: 210.5 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.781 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.002449/0.002449, allocations: 283.7 kB / 312.7 MB, free: 2.684 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.145/1.145, allocations: 180.6 MB / 0.5369 GB, free: 14.49 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.002818/0.002818, allocations: 106.3 kB / 0.7395 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.155, allocations: 95.38 MB / 0.8327 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003374/0.1584, allocations: 2.038 MB / 0.8347 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.1602, allocations: 1.127 MB / 0.8358 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.761e-05/0.1603, allocations: 11.88 kB / 0.8358 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003985/0.1607, allocations: 107.6 kB / 0.8359 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.1608, allocations: 51.58 kB / 0.8359 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006741/0.1615, allocations: 257.4 kB / 0.8362 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.1618, allocations: 307.2 kB / 0.8365 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.162, allocations: 67.44 kB / 0.8365 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.1621, allocations: 103.7 kB / 0.8366 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.1622, allocations: 119.4 kB / 0.8367 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.1623, allocations: 32 kB / 0.8368 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000388/0.1627, allocations: 239.7 kB / 0.837 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1628, allocations: 91.73 kB / 0.8371 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1629, allocations: 127.3 kB / 0.8372 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006074/0.1635, allocations: 0.5566 MB / 0.8377 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1635, allocations: 0 / 0.8377 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1635, allocations: 0 / 0.8377 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.1635, allocations: 0 / 0.8377 GB, free: 3.086 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.001119/0.1647, allocations: 0.7459 MB / 0.8385 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1647, allocations: 8.75 kB / 0.8385 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.007e-05/0.1647, allocations: 50.73 kB / 0.8385 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.793e-05/0.1648, allocations: 36.7 kB / 0.8386 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.1652, allocations: 270.8 kB / 0.8388 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1652, allocations: 12.66 kB / 0.8388 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.1653, allocations: 24.31 kB / 0.8389 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/0.1659, allocations: 388 kB / 0.8392 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1659, allocations: 0 / 0.8392 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.1659, allocations: 8 kB / 0.8392 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.166, allocations: 4 kB / 0.8392 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007/0.1667, allocations: 357.4 kB / 0.8396 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009522/0.1676, allocations: 0.5929 MB / 0.8402 GB, free: 440 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005882/0.1682, allocations: 307.7 kB / 0.8404 GB, free: 104 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004592/0.1687, allocations: 273.8 kB / 0.8407 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.1687, allocations: 4 kB / 0.8407 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1687, allocations: 30.56 kB / 0.8407 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.1687, allocations: 0 / 0.8407 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.001467/0.1702, allocations: 0.856 MB / 0.8416 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.1702, allocations: 136.5 kB / 0.8417 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/0.1707, allocations: 376.5 kB / 0.8421 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.1707, allocations: 33.7 kB / 0.8421 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.1708, allocations: 168.4 kB / 0.8423 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.1709, allocations: 39.64 kB / 0.8423 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.969e-05/0.1709, allocations: 49.7 kB / 0.8423 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1711, allocations: 342.8 kB / 0.8427 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/0.1716, allocations: 430 kB / 0.8431 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005363/0.1722, allocations: 420.2 kB / 0.8435 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009929/0.1732, allocations: 0.7063 MB / 0.8442 GB, free: 12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1732, allocations: 0 / 0.8442 GB, free: 12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001233/0.1744, allocations: 0.9194 MB / 0.8451 GB, free: 11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.1745, allocations: 178.2 kB / 0.8452 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1745, allocations: 3.984 kB / 0.8452 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1745, allocations: 4 kB / 0.8452 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.1747, allocations: 31.97 kB / 0.8453 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.1747, allocations: 0 / 0.8453 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.1749, allocations: 47.75 kB / 0.8453 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.1749, allocations: 8 kB / 0.8453 GB, free: 10.7 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.0002244/0.1752, allocations: 259.5 kB / 0.8456 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/0.1752, allocations: 31.81 kB / 0.8456 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.859e-05/0.1753, allocations: 26.88 kB / 0.8456 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1753, allocations: 4 kB / 0.8456 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1753, allocations: 7.938 kB / 0.8456 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1753, allocations: 0 / 0.8456 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.1756, allocations: 272.5 kB / 0.8459 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1756, allocations: 3.984 kB / 0.8459 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.1757, allocations: 27.97 kB / 0.8459 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1757, allocations: 4 kB / 0.8459 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.1758, allocations: 8 kB / 0.846 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1758, allocations: 3.938 kB / 0.846 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1758, allocations: 4 kB / 0.846 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.1768, allocations: 0.7005 MB / 0.8466 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.1769, allocations: 39.75 kB / 0.8467 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.1769, allocations: 4 kB / 0.8467 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.1771, allocations: 35.95 kB / 0.8467 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.1772, allocations: 31.84 kB / 0.8467 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.1772, allocations: 4 kB / 0.8468 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000281/0.1775, allocations: 271 kB / 0.847 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1775, allocations: 0 / 0.847 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003873/0.1779, allocations: 115.8 kB / 0.8471 GB, free: 8.742 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.001466/0.1794, allocations: 1.304 MB / 0.8484 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.1807, allocations: 1.078 MB / 0.8494 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1807, allocations: 4 kB / 0.8495 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005541/0.1813, allocations: 455.1 kB / 0.8499 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.1817, allocations: 90.72 kB / 0.85 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006271/0.1879, allocations: 5.289 MB / 0.8551 GB, free: 8 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.1882, allocations: 174.2 kB / 0.8553 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.769e-05/0.1882, allocations: 21.94 kB / 0.8553 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.1884, allocations: 91.41 kB / 0.8554 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.1884, allocations: 0 / 0.8554 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/0.2245, allocations: 9.783 MB / 0.865 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.83, allocations: 9.5 kB / 0.865 GB, free: 6.207 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.73305515339598] Failed to read output from testmodel.py, exit status != 0: 10.940149334724993 10.961483984 10.794123152 Calling exit ...