Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008166/0.0008167, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005993/0.005993, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.321/1.321, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001703/0.001703, allocations: 278.2 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9413/0.9413, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004453, allocations: 15.19 kB / 0.5987 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.172, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001665/0.1737, allocations: 1.326 MB / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006313/0.1744, allocations: 332.4 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.1744, allocations: 5.719 kB / 0.6867 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.1744, allocations: 3.938 kB / 0.6868 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.83e-05/0.1745, allocations: 15.84 kB / 0.6868 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.1748, allocations: 69.05 kB / 0.6868 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.1749, allocations: 99.64 kB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.175, allocations: 39.05 kB / 0.687 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.253e-05/0.1751, allocations: 31.86 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.673e-05/0.1752, allocations: 31.86 kB / 0.687 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.1752, allocations: 4.719 kB / 0.687 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.015e-05/0.1753, allocations: 35.97 kB / 0.6871 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.1754, allocations: 16.53 kB / 0.6871 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.396e-05/0.1754, allocations: 66.53 kB / 0.6871 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.1756, allocations: 99.59 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1756, allocations: 4 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1756, allocations: 1.562 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1756, allocations: 0 / 0.6872 GB, free: 12.91 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004933/0.1761, allocations: 397.1 kB / 0.6876 GB, free: 12.47 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1762, allocations: 8.031 kB / 0.6876 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.1776, allocations: 178.5 kB / 0.6878 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.1777, allocations: 180.2 kB / 0.688 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1777, allocations: 8.375 kB / 0.688 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.1778, allocations: 4.375 kB / 0.688 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/0.1784, allocations: 190 kB / 0.6882 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1785, allocations: 192 / 0.6882 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.1785, allocations: 11.94 kB / 0.6882 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1785, allocations: 4 kB / 0.6882 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009775/0.1795, allocations: 211.7 kB / 0.6884 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.1807, allocations: 476.3 kB / 0.6888 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.1819, allocations: 214.3 kB / 0.689 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/0.1822, allocations: 80.86 kB / 0.6891 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1823, allocations: 7.969 kB / 0.6891 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.001e-05/0.1824, allocations: 30.56 kB / 0.6892 GB, free: 10.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.1824, allocations: 0 / 0.6892 GB, free: 10.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001207/0.1836, allocations: 257.3 kB / 0.6894 GB, free: 10.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1836, allocations: 55.34 kB / 0.6895 GB, free: 10.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.1839, allocations: 199.6 kB / 0.6896 GB, free: 10.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1839, allocations: 25.7 kB / 0.6897 GB, free: 10.24 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.184, allocations: 111.9 kB / 0.6898 GB, free: 10.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.184, allocations: 11.84 kB / 0.6898 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.184, allocations: 13.72 kB / 0.6898 GB, free: 10.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1842, allocations: 322.8 kB / 0.6901 GB, free: 9.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004714/0.1846, allocations: 95.91 kB / 0.6902 GB, free: 9.676 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/0.1851, allocations: 110.5 kB / 0.6903 GB, free: 9.559 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008463/0.186, allocations: 178.4 kB / 0.6905 GB, free: 9.375 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.186, allocations: 4 kB / 0.6905 GB, free: 9.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001023/0.187, allocations: 237.4 kB / 0.6907 GB, free: 9.133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.096e-05/0.1871, allocations: 114.6 kB / 0.6908 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.1871, allocations: 0 / 0.6908 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1871, allocations: 4 kB / 0.6908 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.1875, allocations: 43.94 kB / 0.6909 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.1875, allocations: 8 kB / 0.6909 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.1879, allocations: 39.86 kB / 0.6909 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.1879, allocations: 15.98 kB / 0.6909 GB, free: 8.898 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.525e-06/0.1879, allocations: 6.031 kB / 0.6909 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003986/0.1883, allocations: 96.11 kB / 0.691 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.1884, allocations: 4 kB / 0.691 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-06/0.1884, allocations: 0 / 0.691 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.1885, allocations: 31.91 kB / 0.6911 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1885, allocations: 7.984 kB / 0.6911 GB, free: 8.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.1887, allocations: 31.77 kB / 0.6911 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.1887, allocations: 4 kB / 0.6911 GB, free: 8.723 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001083/0.1889, allocations: 185.8 kB / 0.6913 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.1889, allocations: 11.91 kB / 0.6913 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.189, allocations: 12.36 kB / 0.6913 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.189, allocations: 4 kB / 0.6913 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/0.189, allocations: 11.94 kB / 0.6913 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.189, allocations: 0 / 0.6913 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.1892, allocations: 205.6 kB / 0.6915 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1892, allocations: 0 / 0.6915 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.1895, allocations: 35.95 kB / 0.6915 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1895, allocations: 0 / 0.6915 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1895, allocations: 11.92 kB / 0.6915 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1895, allocations: 4 kB / 0.6916 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.1895, allocations: 3.938 kB / 0.6916 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008373/0.1904, allocations: 275.2 kB / 0.6918 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1905, allocations: 100.9 kB / 0.6919 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.1905, allocations: 0 / 0.6919 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.1908, allocations: 39.89 kB / 0.692 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.1909, allocations: 7.938 kB / 0.692 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.1909, allocations: 7.984 kB / 0.692 GB, free: 7.723 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.1911, allocations: 139.2 kB / 0.6921 GB, free: 7.586 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1911, allocations: 4 kB / 0.6921 GB, free: 7.582 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004175/0.1915, allocations: 36 kB / 0.6921 GB, free: 7.547 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001185/0.1916, allocations: 99.19 kB / 0.6922 GB, free: 7.441 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.1928, allocations: 239.8 kB / 0.6925 GB, free: 7.207 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1928, allocations: 0 / 0.6925 GB, free: 7.207 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003821/0.1932, allocations: 76.05 kB / 0.6925 GB, free: 7.133 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.1935, allocations: 10.86 kB / 0.6925 GB, free: 7.125 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009556/0.1945, allocations: 288.9 kB / 0.6928 GB, free: 6.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.1948, allocations: 0.6926 MB / 0.6935 GB, free: 6.102 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000182/0.195, allocations: 27.98 kB / 0.6935 GB, free: 6.074 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/0.195, allocations: 19.42 kB / 0.6935 GB, free: 6.055 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.195, allocations: 0 / 0.6935 GB, free: 6.055 MB / 494.1 MB Notification: Performance of Templates: time 0.004093/0.1991, allocations: 1.546 MB / 0.6951 GB, free: 4.52 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)