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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 105.7 kB / 15.98 MB, free: 5.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 195.3 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002009/0.002009, allocations: 287.5 kB / 291 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8919/0.8919, allocations: 169.2 MB / 0.4985 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 94.33 kB / 0.5953 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.151, allocations: 86.99 MB / 0.6803 GB, free: 1.023 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003083/0.1541, allocations: 2.121 MB / 0.6824 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1557, allocations: 1.156 MB / 0.6835 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.644e-05/0.1558, allocations: 0 / 0.6835 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.1562, allocations: 113.3 kB / 0.6836 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.134e-05/0.1563, allocations: 34.19 kB / 0.6836 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006007/0.1569, allocations: 229.6 kB / 0.6839 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000298/0.1572, allocations: 319.2 kB / 0.6842 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.1574, allocations: 103 kB / 0.6843 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.302e-05/0.1575, allocations: 99.69 kB / 0.6844 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.1577, allocations: 135.4 kB / 0.6845 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.1577, allocations: 28 kB / 0.6845 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.158, allocations: 227.7 kB / 0.6847 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.864e-05/0.1581, allocations: 87.73 kB / 0.6848 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.1582, allocations: 155.2 kB / 0.685 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.1586, allocations: 427.1 kB / 0.6854 GB, free: 11.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1586, allocations: 0 / 0.6854 GB, free: 11.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1586, allocations: 0 / 0.6854 GB, free: 11.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.1586, allocations: 4 kB / 0.6854 GB, free: 11.82 MB / 494.1 MB 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.0009977/0.1596, allocations: 0.8087 MB / 0.6862 GB, free: 10.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1597, allocations: 12.03 kB / 0.6862 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.534e-05/0.1598, allocations: 40.47 kB / 0.6862 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.1601, allocations: 316.4 kB / 0.6865 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1601, allocations: 12.66 kB / 0.6865 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.1601, allocations: 16.38 kB / 0.6865 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/0.1607, allocations: 295.2 kB / 0.6868 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1607, allocations: 0 / 0.6868 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.1607, allocations: 8 kB / 0.6868 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1608, allocations: 8 kB / 0.6868 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/0.1614, allocations: 272 kB / 0.6871 GB, free: 9.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008444/0.1622, allocations: 0.6757 MB / 0.6878 GB, free: 9.203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004938/0.1627, allocations: 230.6 kB / 0.688 GB, free: 8.969 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.1631, allocations: 188.7 kB / 0.6882 GB, free: 8.781 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.1631, allocations: 4 kB / 0.6882 GB, free: 8.777 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.1631, allocations: 42.56 kB / 0.6882 GB, free: 8.727 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.1631, allocations: 0 / 0.6882 GB, free: 8.727 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001233/0.1644, allocations: 0.6687 MB / 0.6888 GB, free: 8.035 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.1644, allocations: 140.6 kB / 0.689 GB, free: 7.867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.1648, allocations: 380.5 kB / 0.6893 GB, free: 7.484 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.1648, allocations: 33.7 kB / 0.6894 GB, free: 7.445 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.673e-05/0.1649, allocations: 168.3 kB / 0.6895 GB, free: 7.277 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.165, allocations: 47.36 kB / 0.6896 GB, free: 7.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.507e-05/0.1651, allocations: 45.7 kB / 0.6896 GB, free: 7.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1652, allocations: 342.8 kB / 0.69 GB, free: 6.836 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.1656, allocations: 239.8 kB / 0.6902 GB, free: 6.602 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.166, allocations: 241.5 kB / 0.6904 GB, free: 6.367 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000831/0.1668, allocations: 0.6774 MB / 0.6911 GB, free: 5.633 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1668, allocations: 0 / 0.6911 GB, free: 5.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009972/0.1678, allocations: 0.7354 MB / 0.6918 GB, free: 4.855 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.472e-05/0.1679, allocations: 182.2 kB / 0.692 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.168, allocations: 4 kB / 0.692 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.168, allocations: 0 / 0.692 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.1681, allocations: 31.97 kB / 0.692 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1682, allocations: 7.984 kB / 0.692 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.1684, allocations: 39.75 kB / 0.692 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.1684, allocations: 8 kB / 0.6921 GB, free: 4.551 MB / 494.1 MB 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.0001997/0.1686, allocations: 267.4 kB / 0.6923 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.545e-05/0.1686, allocations: 31.62 kB / 0.6923 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.1687, allocations: 30.94 kB / 0.6924 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1687, allocations: 0 / 0.6924 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1687, allocations: 0 / 0.6924 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1687, allocations: 0 / 0.6924 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.169, allocations: 353.2 kB / 0.6927 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.169, allocations: 0 / 0.6927 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.1692, allocations: 27.97 kB / 0.6927 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1692, allocations: 4 kB / 0.6927 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.1692, allocations: 4 kB / 0.6927 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1692, allocations: 0 / 0.6927 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1693, allocations: 0 / 0.6927 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008638/0.1701, allocations: 0.6288 MB / 0.6934 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.1702, allocations: 108.7 kB / 0.6935 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.1703, allocations: 8 kB / 0.6935 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.1705, allocations: 27.95 kB / 0.6935 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.1706, allocations: 27.97 kB / 0.6935 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1706, allocations: 8 kB / 0.6935 GB, free: 2.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002451/0.1708, allocations: 271 kB / 0.6938 GB, free: 2.645 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1709, allocations: 0 / 0.6938 GB, free: 2.645 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003803/0.1712, allocations: 107.9 kB / 0.6939 GB, free: 2.539 MB / 494.1 MB 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.000265/0.1715, allocations: 159.2 kB / 0.694 GB, free: 2.375 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.1726, allocations: 0.8399 MB / 0.6949 GB, free: 1.461 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1726, allocations: 7.938 kB / 0.6949 GB, free: 1.453 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004499/0.173, allocations: 370 kB / 0.6952 GB, free: 1.055 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.1735, allocations: 77.31 kB / 0.6953 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009979/0.1745, allocations: 0.7668 MB / 0.696 GB, free: 180 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.1748, allocations: 0.7831 MB / 0.6968 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.663e-05/0.1749, allocations: 19.44 kB / 0.6968 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1749, allocations: 4 kB / 0.6968 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.006675/0.1816, allocations: 4.964 MB / 0.7017 GB, free: 10.42 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)