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.001078/0.001078, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001113/0.001113, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.243/1.243, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002008/0.002008, allocations: 295.8 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8936/0.8936, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002987/0.002987, allocations: 94.3 kB / 0.5967 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1703, allocations: 86.98 MB / 0.6816 GB, free: 7.406 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002834/0.1732, allocations: 1.618 MB / 0.6832 GB, free: 5.773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006358/0.1738, allocations: 331.9 kB / 0.6835 GB, free: 5.445 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.1739, allocations: 0 / 0.6835 GB, free: 5.445 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.998e-05/0.1739, allocations: 7.875 kB / 0.6835 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.741e-05/0.174, allocations: 23.78 kB / 0.6835 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.1744, allocations: 75.86 kB / 0.6836 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1745, allocations: 107.6 kB / 0.6837 GB, free: 5.234 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.1747, allocations: 35.97 kB / 0.6837 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.921e-05/0.1748, allocations: 47.84 kB / 0.6838 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.1749, allocations: 43.77 kB / 0.6838 GB, free: 5.109 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.1749, allocations: 8 kB / 0.6838 GB, free: 5.102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.77e-05/0.175, allocations: 35.97 kB / 0.6839 GB, free: 5.066 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.175, allocations: 23.86 kB / 0.6839 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.1751, allocations: 47.73 kB / 0.6839 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.1753, allocations: 111.6 kB / 0.684 GB, free: 4.887 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1753, allocations: 0 / 0.684 GB, free: 4.887 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1753, allocations: 0 / 0.684 GB, free: 4.887 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1753, allocations: 0 / 0.684 GB, free: 4.887 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.0005395/0.1758, allocations: 411.1 kB / 0.6844 GB, free: 4.434 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1759, allocations: 8.031 kB / 0.6844 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.1772, allocations: 168.5 kB / 0.6846 GB, free: 4.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.1773, allocations: 176.2 kB / 0.6848 GB, free: 4.051 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1774, allocations: 8.375 kB / 0.6848 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.1774, allocations: 8.375 kB / 0.6848 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006061/0.178, allocations: 176.2 kB / 0.6849 GB, free: 3.859 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.178, allocations: 192 / 0.685 GB, free: 3.859 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.1781, allocations: 3.938 kB / 0.685 GB, free: 3.855 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.1781, allocations: 4 kB / 0.685 GB, free: 3.852 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008631/0.1789, allocations: 179.8 kB / 0.6851 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.1801, allocations: 488 kB / 0.6856 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.1812, allocations: 182.4 kB / 0.6858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/0.1815, allocations: 68.78 kB / 0.6858 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.1815, allocations: 8 kB / 0.6858 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.1816, allocations: 30.56 kB / 0.6859 GB, free: 2.844 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.1816, allocations: 0 / 0.6859 GB, free: 2.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001092/0.1827, allocations: 229.6 kB / 0.6861 GB, free: 2.613 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.1827, allocations: 51.41 kB / 0.6861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.1829, allocations: 197.4 kB / 0.6863 GB, free: 2.352 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.183, allocations: 29.69 kB / 0.6864 GB, free: 2.316 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.183, allocations: 99.95 kB / 0.6865 GB, free: 2.215 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.1831, allocations: 19.83 kB / 0.6865 GB, free: 2.195 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.1831, allocations: 29.69 kB / 0.6865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.1832, allocations: 314.8 kB / 0.6868 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.1837, allocations: 93.47 kB / 0.6869 GB, free: 1.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.1841, allocations: 106.5 kB / 0.687 GB, free: 1.637 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007057/0.1848, allocations: 158.4 kB / 0.6871 GB, free: 1.473 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1848, allocations: 8 kB / 0.6871 GB, free: 1.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008704/0.1857, allocations: 213.3 kB / 0.6874 GB, free: 1.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1857, allocations: 8.062 kB / 0.6874 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1857, allocations: 3.938 kB / 0.6874 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1858, allocations: 7.938 kB / 0.6874 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.1861, allocations: 43.94 kB / 0.6874 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1861, allocations: 0 / 0.6874 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.1864, allocations: 47.8 kB / 0.6875 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.1865, allocations: 3.984 kB / 0.6875 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002025/0.1867, allocations: 124.1 kB / 0.6876 GB, free: 1.012 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001649/0.1868, allocations: 73.97 kB / 0.6877 GB, free: 0.918 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000241/0.1871, allocations: 109.8 kB / 0.6878 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.1871, allocations: 0 / 0.6878 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.000386/0.1875, allocations: 141.5 kB / 0.6879 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.1875, allocations: 4 kB / 0.6879 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-06/0.1875, allocations: 3.938 kB / 0.6879 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.407e-06/0.1875, allocations: 4 kB / 0.6879 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1877, allocations: 27.86 kB / 0.6879 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1877, allocations: 7.984 kB / 0.6879 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.1879, allocations: 23.98 kB / 0.688 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1879, allocations: 7.984 kB / 0.688 GB, free: 0.5664 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 8.669e-05/0.188, allocations: 180.3 kB / 0.6881 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.1881, allocations: 7.906 kB / 0.6881 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.1881, allocations: 16.19 kB / 0.6882 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1881, allocations: 0 / 0.6882 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1881, allocations: 4 kB / 0.6882 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.1881, allocations: 4 kB / 0.6882 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.1884, allocations: 205.5 kB / 0.6884 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1884, allocations: 0 / 0.6884 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.1886, allocations: 27.95 kB / 0.6884 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.1886, allocations: 7.984 kB / 0.6884 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1886, allocations: 7.938 kB / 0.6884 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1886, allocations: 4 kB / 0.6884 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1886, allocations: 3.938 kB / 0.6884 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2483/0.4369, allocations: 248.5 kB / 0.6887 GB, free: 18.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.417e-05/0.437, allocations: 96.36 kB / 0.6887 GB, free: 18.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.4371, allocations: 6.344 kB / 0.6887 GB, free: 18.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.4374, allocations: 24.59 kB / 0.6888 GB, free: 18.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.4374, allocations: 7.453 kB / 0.6888 GB, free: 18.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.4374, allocations: 3.391 kB / 0.6888 GB, free: 18.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.4376, allocations: 144 kB / 0.6889 GB, free: 18.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4376, allocations: 1.938 kB / 0.6889 GB, free: 18.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00038/0.438, allocations: 33.11 kB / 0.689 GB, free: 18.34 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 9.436e-05/0.4381, allocations: 98.7 kB / 0.689 GB, free: 18.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009942/0.4391, allocations: 212.5 kB / 0.6893 GB, free: 18.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4391, allocations: 0 / 0.6893 GB, free: 18.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.4395, allocations: 65.34 kB / 0.6893 GB, free: 18.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.4397, allocations: 16.28 kB / 0.6893 GB, free: 18.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008064/0.4406, allocations: 239.2 kB / 0.6896 GB, free: 18.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.4407, allocations: 0.6965 MB / 0.6902 GB, free: 17.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000129/0.4408, allocations: 29.92 kB / 0.6903 GB, free: 17.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.564e-05/0.4409, allocations: 20.84 kB / 0.6903 GB, free: 17.42 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4409, allocations: 3.656 kB / 0.6903 GB, free: 17.42 MB / 494.1 MB Notification: Performance of Templates: time 0.004126/0.445, allocations: 1.684 MB / 0.6919 GB, free: 17.38 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)