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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 108.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.002495/0.002495, allocations: 289.2 kB / 303 MB, free: 9.5 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.116/1.116, allocations: 180.9 MB / 0.5261 GB, free: 14.65 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002596/0.002596, allocations: 100.3 kB / 0.7248 GB, free: 40.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1455, allocations: 94.16 MB / 0.8167 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003266/0.1488, allocations: 2.094 MB / 0.8188 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001751/0.1505, allocations: 1.185 MB / 0.8199 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.906e-05/0.1506, allocations: 8 kB / 0.8199 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.1509, allocations: 115.3 kB / 0.8201 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.668e-05/0.151, allocations: 47.58 kB / 0.8201 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006336/0.1517, allocations: 257.8 kB / 0.8203 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003429/0.152, allocations: 299.3 kB / 0.8206 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.1522, allocations: 71.08 kB / 0.8207 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1523, allocations: 111.6 kB / 0.8208 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.1524, allocations: 131.5 kB / 0.8209 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.113e-05/0.1525, allocations: 32 kB / 0.821 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.1528, allocations: 235.7 kB / 0.8212 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1529, allocations: 91.67 kB / 0.8213 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.1531, allocations: 155.2 kB / 0.8214 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005978/0.1537, allocations: 0.5604 MB / 0.822 GB, free: 116 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1537, allocations: 0 / 0.822 GB, free: 116 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.654e-06/0.1537, allocations: 0 / 0.822 GB, free: 116 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.1537, allocations: 0 / 0.822 GB, free: 116 kB / 0.5606 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.001151/0.1548, allocations: 0.8241 MB / 0.8228 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1549, allocations: 12.03 kB / 0.8228 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.1549, allocations: 50.73 kB / 0.8228 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.155, allocations: 36.7 kB / 0.8229 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.1554, allocations: 324.6 kB / 0.8232 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.1554, allocations: 12.66 kB / 0.8232 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.1555, allocations: 16.38 kB / 0.8232 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.156, allocations: 295 kB / 0.8235 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.156, allocations: 0 / 0.8235 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.1561, allocations: 8 kB / 0.8235 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1561, allocations: 4 kB / 0.8235 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006081/0.1567, allocations: 280.2 kB / 0.8238 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009411/0.1576, allocations: 0.6681 MB / 0.8244 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/0.1581, allocations: 222.6 kB / 0.8246 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/0.1585, allocations: 184.7 kB / 0.8248 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.1585, allocations: 4 kB / 0.8248 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.1585, allocations: 38.55 kB / 0.8248 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.1585, allocations: 0 / 0.8248 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.001279/0.1598, allocations: 0.6722 MB / 0.8255 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.241e-05/0.1599, allocations: 140.5 kB / 0.8256 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.1603, allocations: 376.5 kB / 0.826 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.1603, allocations: 29.7 kB / 0.826 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.1605, allocations: 172.3 kB / 0.8262 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.1605, allocations: 47.56 kB / 0.8262 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.609e-05/0.1606, allocations: 53.64 kB / 0.8263 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1608, allocations: 342.8 kB / 0.8266 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/0.1612, allocations: 243.8 kB / 0.8268 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.1616, allocations: 231.9 kB / 0.8271 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009094/0.1625, allocations: 0.6769 MB / 0.8277 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1625, allocations: 0 / 0.8277 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001068/0.1636, allocations: 0.7429 MB / 0.8285 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.1637, allocations: 186.2 kB / 0.8286 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1637, allocations: 0 / 0.8286 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1637, allocations: 4 kB / 0.8286 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.1639, allocations: 27.97 kB / 0.8287 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1639, allocations: 0 / 0.8287 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.1641, allocations: 39.81 kB / 0.8287 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.1641, allocations: 12 kB / 0.8287 GB, free: 8.77 MB / 0.5762 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.0002368/0.1643, allocations: 258.8 kB / 0.829 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/0.1644, allocations: 35.81 kB / 0.829 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.1645, allocations: 26.94 kB / 0.829 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1645, allocations: 4 kB / 0.829 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1645, allocations: 0 / 0.829 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1645, allocations: 3.938 kB / 0.829 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.1648, allocations: 353.3 kB / 0.8294 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1648, allocations: 0 / 0.8294 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.165, allocations: 27.97 kB / 0.8294 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.165, allocations: 3.938 kB / 0.8294 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.165, allocations: 12 kB / 0.8294 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.165, allocations: 4 kB / 0.8294 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.165, allocations: 0 / 0.8294 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000984/0.166, allocations: 0.6212 MB / 0.83 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.641e-05/0.1661, allocations: 112.9 kB / 0.8301 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.1661, allocations: 4 kB / 0.8301 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.1663, allocations: 31.95 kB / 0.8302 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.1664, allocations: 23.92 kB / 0.8302 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.1664, allocations: 7.984 kB / 0.8302 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000283/0.1667, allocations: 271 kB / 0.8304 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1667, allocations: 0 / 0.8304 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003748/0.1671, allocations: 111.9 kB / 0.8305 GB, free: 6.75 MB / 0.5762 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.001408/0.1685, allocations: 1.214 MB / 0.8317 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.1696, allocations: 0.8203 MB / 0.8325 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1696, allocations: 0 / 0.8325 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004947/0.1701, allocations: 370 kB / 0.8329 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.1705, allocations: 67.95 kB / 0.833 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/0.1762, allocations: 4.433 MB / 0.8373 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.1766, allocations: 0.7831 MB / 0.838 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.019e-05/0.1767, allocations: 21.95 kB / 0.8381 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.1768, allocations: 95.39 kB / 0.8382 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.1768, allocations: 0 / 0.8382 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.2082, allocations: 8.735 MB / 0.8467 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.947/8.155, allocations: 19.62 kB / 0.8467 GB, free: 6.164 MB / 0.5919 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 & /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: 11.842816085088998] Failed to read output from testmodel.py, exit status != 0: 8.223756914958358 8.236850762 8.080533231 Calling exit ...