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.001122/0.001122, allocations: 106.1 kB / 16.27 MB, free: 5.973 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.001162/0.001162, allocations: 194.2 kB / 17.2 MB, free: 5.598 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.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00227/0.00227, allocations: 300.2 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9294/0.9294, allocations: 169.3 MB / 0.4988 GB, free: 4.52 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 98.56 kB / 0.5959 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1873, allocations: 86.97 MB / 0.6808 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003316/0.1907, allocations: 1.614 MB / 0.6824 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000766/0.1915, allocations: 343.9 kB / 0.6827 GB, free: 6.195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.1916, allocations: 0 / 0.6827 GB, free: 6.195 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.362e-05/0.1917, allocations: 7.875 kB / 0.6827 GB, free: 6.188 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.667e-05/0.1918, allocations: 23.78 kB / 0.6828 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.1922, allocations: 71.8 kB / 0.6828 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.1923, allocations: 111.6 kB / 0.6829 GB, free: 5.984 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1925, allocations: 32.25 kB / 0.683 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1926, allocations: 43.84 kB / 0.683 GB, free: 5.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.513e-05/0.1927, allocations: 47.83 kB / 0.6831 GB, free: 5.863 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.1927, allocations: 7.938 kB / 0.6831 GB, free: 5.855 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1928, allocations: 35.97 kB / 0.6831 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.1929, allocations: 19.98 kB / 0.6831 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.1929, allocations: 43.73 kB / 0.6832 GB, free: 5.758 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.1931, allocations: 107.6 kB / 0.6833 GB, free: 5.652 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/0.1931, allocations: 4 kB / 0.6833 GB, free: 5.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1932, allocations: 0 / 0.6833 GB, free: 5.648 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.978e-06/0.1932, allocations: 0 / 0.6833 GB, free: 5.648 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.0005912/0.1938, allocations: 399.2 kB / 0.6837 GB, free: 5.207 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1938, allocations: 16.02 kB / 0.6837 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.1953, allocations: 168.5 kB / 0.6838 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.1954, allocations: 176.2 kB / 0.684 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1955, allocations: 8.375 kB / 0.684 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.1955, allocations: 4.375 kB / 0.684 GB, free: 4.805 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.1962, allocations: 178 kB / 0.6842 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1962, allocations: 192 / 0.6842 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.1962, allocations: 7.938 kB / 0.6842 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.1963, allocations: 4 kB / 0.6842 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009614/0.1972, allocations: 179.8 kB / 0.6844 GB, free: 4.438 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.1985, allocations: 488.1 kB / 0.6848 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.1996, allocations: 182.3 kB / 0.685 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003706/0.2, allocations: 68.84 kB / 0.6851 GB, free: 3.652 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.2001, allocations: 0 / 0.6851 GB, free: 3.652 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.2001, allocations: 38.5 kB / 0.6851 GB, free: 3.605 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2001, allocations: 0 / 0.6851 GB, free: 3.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001273/0.2014, allocations: 225.5 kB / 0.6853 GB, free: 3.379 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.2014, allocations: 51.41 kB / 0.6854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.2017, allocations: 197.3 kB / 0.6856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.2017, allocations: 29.7 kB / 0.6856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.2018, allocations: 107.9 kB / 0.6857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.2018, allocations: 15.77 kB / 0.6857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.2019, allocations: 29.69 kB / 0.6857 GB, free: 2.922 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2021, allocations: 322.8 kB / 0.686 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00051/0.2026, allocations: 84.77 kB / 0.6861 GB, free: 2.512 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/0.2031, allocations: 103.2 kB / 0.6862 GB, free: 2.402 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008025/0.2039, allocations: 154.4 kB / 0.6864 GB, free: 2.242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.2039, allocations: 7.938 kB / 0.6864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001009/0.2049, allocations: 213.4 kB / 0.6866 GB, free: 2.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.2049, allocations: 7.984 kB / 0.6866 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.205, allocations: 4 kB / 0.6866 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.205, allocations: 3.938 kB / 0.6866 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.2053, allocations: 44 kB / 0.6866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.2054, allocations: 4 kB / 0.6866 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/0.2058, allocations: 43.86 kB / 0.6867 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.2058, allocations: 7.984 kB / 0.6867 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000226/0.206, allocations: 120.1 kB / 0.6868 GB, free: 1.785 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001979/0.2062, allocations: 85.95 kB / 0.6869 GB, free: 1.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002852/0.2065, allocations: 97.84 kB / 0.687 GB, free: 1.562 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.2065, allocations: 0 / 0.687 GB, free: 1.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004565/0.207, allocations: 141.4 kB / 0.6871 GB, free: 1.418 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.207, allocations: 4 kB / 0.6871 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.207, allocations: 4 kB / 0.6871 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-06/0.207, allocations: 0 / 0.6871 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.2072, allocations: 32.08 kB / 0.6872 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2072, allocations: 7.984 kB / 0.6872 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.2075, allocations: 23.92 kB / 0.6872 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2075, allocations: 7.984 kB / 0.6872 GB, free: 1.34 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.000124/0.2076, allocations: 176.3 kB / 0.6874 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.2077, allocations: 11.91 kB / 0.6874 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.855e-05/0.2078, allocations: 16.19 kB / 0.6874 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2078, allocations: 4 kB / 0.6874 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2078, allocations: 0 / 0.6874 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2078, allocations: 0 / 0.6874 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.208, allocations: 209.4 kB / 0.6876 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2081, allocations: 4 kB / 0.6876 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.2083, allocations: 39.89 kB / 0.6876 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.2083, allocations: 0 / 0.6876 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.2083, allocations: 7.922 kB / 0.6876 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2083, allocations: 3.938 kB / 0.6876 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2083, allocations: 0 / 0.6876 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008355/0.2092, allocations: 263.5 kB / 0.6879 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.2093, allocations: 96.98 kB / 0.688 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.2093, allocations: 3.938 kB / 0.688 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.2096, allocations: 27.97 kB / 0.688 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.2097, allocations: 4 kB / 0.688 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.2097, allocations: 3.984 kB / 0.688 GB, free: 396 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.2099, allocations: 146.5 kB / 0.6882 GB, free: 252 kB / 494.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2099, allocations: 0 / 0.6882 GB, free: 252 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003702/0.2103, allocations: 32 kB / 0.6882 GB, free: 220 kB / 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.0001299/0.2104, allocations: 102.2 kB / 0.6883 GB, free: 112 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2985/0.509, allocations: 209.3 kB / 0.6885 GB, free: 18.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.509, allocations: 0 / 0.6885 GB, free: 18.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004335/0.5095, allocations: 73.3 kB / 0.6886 GB, free: 18.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.5099, allocations: 7.469 kB / 0.6886 GB, free: 18.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.511, allocations: 269.1 kB / 0.6888 GB, free: 17.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.5112, allocations: 0.6967 MB / 0.6895 GB, free: 17.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.5113, allocations: 24.73 kB / 0.6895 GB, free: 17.24 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5113, allocations: 0 / 0.6895 GB, free: 17.24 MB / 494.1 MB Notification: Performance of Templates: time 0.004804/0.5161, allocations: 1.709 MB / 0.6912 GB, free: 17.22 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)