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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8381/0.8381, allocations: 143.4 MB / 158.3 MB, free: 5.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 181 kB / 191.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.2 MB / 447.7 MB, free: 4.676 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009849/0.000985, allocations: 100.3 kB / 0.5188 GB, free: 1.027 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001684/0.001684, allocations: 267.9 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.000468, allocations: 11.91 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1594, allocations: 82.79 MB / 0.7737 GB, free: 13.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1513/0.3107, allocations: 109.6 MB / 0.8807 GB, free: 108 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.311, allocations: 81.98 kB / 0.8808 GB, free: 28 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3533/0.6643, allocations: 3.23 MB / 0.884 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6644, allocations: 0 / 0.884 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.6644, allocations: 2.625 kB / 0.884 GB, free: 109.5 MB / 0.5417 GB 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.0004032/0.6648, allocations: 395.9 kB / 0.8843 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.6648, allocations: 12.89 kB / 0.8844 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008223/0.6657, allocations: 96.11 kB / 0.8844 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.83e-05/0.6658, allocations: 178.3 kB / 0.8846 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.6658, allocations: 11.27 kB / 0.8846 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.6658, allocations: 5.062 kB / 0.8846 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005518/0.6664, allocations: 160.5 kB / 0.8848 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.6664, allocations: 0 / 0.8848 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.6664, allocations: 9.812 kB / 0.8848 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.6664, allocations: 0 / 0.8848 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007598/0.6672, allocations: 176.9 kB / 0.885 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.6683, allocations: 454.1 kB / 0.8854 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/0.669, allocations: 161.5 kB / 0.8855 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.669, allocations: 0.75 kB / 0.8855 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.6691, allocations: 37.72 kB / 0.8856 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.6691, allocations: 0 / 0.8856 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.001247/0.6703, allocations: 285.3 kB / 0.8859 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.6704, allocations: 51.41 kB / 0.8859 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.6705, allocations: 150.6 kB / 0.886 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.6705, allocations: 25.7 kB / 0.8861 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.6706, allocations: 102 kB / 0.8862 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.6706, allocations: 20.52 kB / 0.8862 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/0.6706, allocations: 3.188 kB / 0.8862 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.083e-05/0.6707, allocations: 319.6 kB / 0.8865 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/0.6711, allocations: 86.58 kB / 0.8866 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.6714, allocations: 80.08 kB / 0.8867 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.6718, allocations: 76.16 kB / 0.8867 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6718, allocations: 0 / 0.8867 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008488/0.6727, allocations: 210.2 kB / 0.8869 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/0.6727, allocations: 95.28 kB / 0.887 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6728, allocations: 0 / 0.887 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.6728, allocations: 0.5156 kB / 0.887 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.6731, allocations: 51 kB / 0.8871 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.6731, allocations: 2.797 kB / 0.8871 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.6734, allocations: 31.91 kB / 0.8871 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.6734, allocations: 3.172 kB / 0.8871 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.723e-06/0.6734, allocations: 3.438 kB / 0.8871 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002132/0.6736, allocations: 71.47 kB / 0.8872 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-06/0.6737, allocations: 2.844 kB / 0.8872 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-06/0.6737, allocations: 7.938 kB / 0.8872 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.398e-05/0.6738, allocations: 18.31 kB / 0.8872 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.6738, allocations: 0.6562 kB / 0.8872 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.6738, allocations: 20.39 kB / 0.8872 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.6738, allocations: 7.188 kB / 0.8872 GB, free: 107.6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.808e-05/0.6739, allocations: 191.7 kB / 0.8874 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.674, allocations: 7.219 kB / 0.8874 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.674, allocations: 18.61 kB / 0.8874 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.6741, allocations: 0.6562 kB / 0.8874 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6741, allocations: 0 / 0.8874 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.6741, allocations: 4.469 kB / 0.8874 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.6752, allocations: 0.4911 MB / 0.8879 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.6753, allocations: 0 / 0.8879 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.6756, allocations: 46.66 kB / 0.888 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.6756, allocations: 1 kB / 0.888 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.6756, allocations: 8.062 kB / 0.888 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.6756, allocations: 5.344 kB / 0.888 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6756, allocations: 2.344 kB / 0.888 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008805/0.6765, allocations: 341.6 kB / 0.8883 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.33e-05/0.6766, allocations: 105.7 kB / 0.8884 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.6766, allocations: 3.516 kB / 0.8884 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.6769, allocations: 30.2 kB / 0.8884 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.677, allocations: 4.312 kB / 0.8884 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.677, allocations: 6.078 kB / 0.8885 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.38e-05/0.6771, allocations: 120.5 kB / 0.8886 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6771, allocations: 0 / 0.8886 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003135/0.6774, allocations: 32.41 kB / 0.8886 GB, free: 106.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001238/0.6775, allocations: 109.7 kB / 0.8887 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000924/0.6784, allocations: 203.3 kB / 0.8889 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6785, allocations: 0 / 0.8889 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.6789, allocations: 90.47 kB / 0.889 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.6791, allocations: 11.47 kB / 0.889 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.6802, allocations: 320.4 kB / 0.8893 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.6804, allocations: 0.7029 MB / 0.89 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.6805, allocations: 16.78 kB / 0.89 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.6806, allocations: 23.83 kB / 0.89 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of SimCode: time 3.91e-07/0.6806, allocations: 0 / 0.89 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.003865/0.6845, allocations: 1.284 MB / 0.8913 GB, free: 105.6 MB / 0.5417 GB 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)