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.001442/0.001442, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001986/0.001986, allocations: 283.1 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9187/0.9187, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 89.98 kB / 0.5952 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1714, allocations: 86.99 MB / 0.6802 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002657/0.1741, allocations: 1.611 MB / 0.6818 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006225/0.1748, allocations: 336.4 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.1748, allocations: 0.5312 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.1749, allocations: 3.938 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.244e-05/0.175, allocations: 24.41 kB / 0.6821 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.1753, allocations: 82.88 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.1754, allocations: 103.7 kB / 0.6823 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.1755, allocations: 38.27 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.409e-05/0.1756, allocations: 39.84 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.1757, allocations: 43.84 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.1757, allocations: 8 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.961e-05/0.1758, allocations: 35.97 kB / 0.6824 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.1759, allocations: 24.53 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.1759, allocations: 43.73 kB / 0.6825 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.1761, allocations: 104.3 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1761, allocations: 0.875 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1761, allocations: 0 / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1761, allocations: 0 / 0.6826 GB, free: 14.18 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.0005435/0.1767, allocations: 413.1 kB / 0.683 GB, free: 13.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.1767, allocations: 8.031 kB / 0.683 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.1781, allocations: 165.2 kB / 0.6832 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.1782, allocations: 180.2 kB / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.1782, allocations: 8.375 kB / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.1783, allocations: 4.375 kB / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006202/0.1789, allocations: 174.1 kB / 0.6835 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1789, allocations: 192 / 0.6835 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.1789, allocations: 11.94 kB / 0.6835 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.1789, allocations: 0 / 0.6835 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009155/0.1798, allocations: 187.8 kB / 0.6837 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.1811, allocations: 476.2 kB / 0.6842 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.1822, allocations: 186.3 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.1825, allocations: 68.84 kB / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.1826, allocations: 0 / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1826, allocations: 30.56 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1826, allocations: 0 / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001177/0.1838, allocations: 229.4 kB / 0.6847 GB, free: 11.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.1838, allocations: 55.34 kB / 0.6847 GB, free: 11.85 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.1841, allocations: 199.1 kB / 0.6849 GB, free: 11.65 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1841, allocations: 29.69 kB / 0.6849 GB, free: 11.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.1842, allocations: 111.9 kB / 0.685 GB, free: 11.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.1842, allocations: 11.83 kB / 0.685 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.618e-05/0.1843, allocations: 29.69 kB / 0.6851 GB, free: 11.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.1844, allocations: 322.8 kB / 0.6854 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/0.1849, allocations: 88.77 kB / 0.6855 GB, free: 11.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.1853, allocations: 98.48 kB / 0.6856 GB, free: 10.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007904/0.1861, allocations: 162.4 kB / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1861, allocations: 0 / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009726/0.1871, allocations: 217.4 kB / 0.6859 GB, free: 10.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1871, allocations: 4 kB / 0.6859 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1872, allocations: 4 kB / 0.6859 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.1872, allocations: 4.125 kB / 0.6859 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.1875, allocations: 43.94 kB / 0.686 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.1875, allocations: 4 kB / 0.686 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.1879, allocations: 39.86 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.1879, allocations: 16.03 kB / 0.686 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002115/0.1881, allocations: 120.3 kB / 0.6861 GB, free: 10.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001925/0.1883, allocations: 89.89 kB / 0.6862 GB, free: 10.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002678/0.1886, allocations: 97.91 kB / 0.6863 GB, free: 10.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.1886, allocations: 0 / 0.6863 GB, free: 10.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004323/0.1891, allocations: 137.4 kB / 0.6865 GB, free: 9.945 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.1891, allocations: 6.5 kB / 0.6865 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.1891, allocations: 7.938 kB / 0.6865 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-06/0.1891, allocations: 0 / 0.6865 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.1893, allocations: 32.12 kB / 0.6865 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.1893, allocations: 8 kB / 0.6865 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.1895, allocations: 19.92 kB / 0.6865 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1895, allocations: 7.984 kB / 0.6865 GB, free: 9.867 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 9.789e-05/0.1896, allocations: 180.9 kB / 0.6867 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.1897, allocations: 11.81 kB / 0.6867 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.1897, allocations: 20.19 kB / 0.6867 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1897, allocations: 0 / 0.6867 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1898, allocations: 0 / 0.6867 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1898, allocations: 3.938 kB / 0.6867 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.19, allocations: 213.5 kB / 0.6869 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.19, allocations: 0 / 0.6869 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.1902, allocations: 31.95 kB / 0.687 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1902, allocations: 3.984 kB / 0.687 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1903, allocations: 3.938 kB / 0.687 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1903, allocations: 3.938 kB / 0.687 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1903, allocations: 0 / 0.687 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007916/0.1911, allocations: 259.3 kB / 0.6872 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.1911, allocations: 96.98 kB / 0.6873 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.1912, allocations: 7.938 kB / 0.6873 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.1915, allocations: 23.97 kB / 0.6874 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.1915, allocations: 4 kB / 0.6874 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.1915, allocations: 3.984 kB / 0.6874 GB, free: 8.918 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.1917, allocations: 143.2 kB / 0.6875 GB, free: 8.777 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.1917, allocations: 0 / 0.6875 GB, free: 8.777 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003391/0.1921, allocations: 39.94 kB / 0.6875 GB, free: 8.738 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.0001105/0.1922, allocations: 99.25 kB / 0.6876 GB, free: 8.633 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.1933, allocations: 208.2 kB / 0.6878 GB, free: 8.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1933, allocations: 0 / 0.6878 GB, free: 8.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.1937, allocations: 71.97 kB / 0.6879 GB, free: 8.359 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.194, allocations: 18.58 kB / 0.6879 GB, free: 8.344 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008803/0.1949, allocations: 246.9 kB / 0.6882 GB, free: 8.082 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.1951, allocations: 0.6963 MB / 0.6888 GB, free: 7.359 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.1953, allocations: 23.98 kB / 0.6889 GB, free: 7.336 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.1954, allocations: 27.41 kB / 0.6889 GB, free: 7.309 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1954, allocations: 0 / 0.6889 GB, free: 7.309 MB / 494.1 MB Notification: Performance of Templates: time 0.003856/0.1992, allocations: 1.688 MB / 0.6905 GB, free: 5.625 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)