Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7831/0.7831, allocations: 141.8 MB / 149.3 MB, free: 9.191 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.00104/0.00104, allocations: 184.6 kB / 182.2 MB, free: 9.422 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.351/1.351, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009053/0.0009052, allocations: 97.72 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001692/0.001692, allocations: 270 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.677e-05/1.678e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3874, allocations: 82.78 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.543, allocations: 119.9 MB / 0.8745 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.5433, allocations: 91.81 kB / 0.8746 GB, free: 7.82 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.03394/0.5772, allocations: 11.06 MB / 0.8854 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.795e-06/0.5773, allocations: 4 kB / 0.8854 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.737e-05/0.5774, allocations: 11.98 kB / 0.8854 GB, free: 12.75 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001319/0.5787, allocations: 0.5211 MB / 0.8859 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.5788, allocations: 8.031 kB / 0.8859 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004694/0.5792, allocations: 47.69 kB / 0.8859 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.581, allocations: 0.6244 MB / 0.8866 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.5811, allocations: 3.938 kB / 0.8866 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.5811, allocations: 12 kB / 0.8866 GB, free: 11.44 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002296/0.5813, allocations: 111.9 kB / 0.8867 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.5816, allocations: 127 kB / 0.8868 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5816, allocations: 3.938 kB / 0.8868 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.5817, allocations: 0 / 0.8868 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5817, allocations: 0 / 0.8868 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.5827, allocations: 472.9 kB / 0.8873 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.583, allocations: 142.4 kB / 0.8874 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.5831, allocations: 64.78 kB / 0.8875 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.5832, allocations: 0 / 0.8875 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.5832, allocations: 42.56 kB / 0.8875 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.984e-06/0.5832, allocations: 0 / 0.8875 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0006399/0.5839, allocations: 181.4 kB / 0.8877 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.5839, allocations: 51.41 kB / 0.8877 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.5843, allocations: 269.1 kB / 0.888 GB, free: 9.918 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.5844, allocations: 25.7 kB / 0.888 GB, free: 9.887 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.5845, allocations: 156.4 kB / 0.8881 GB, free: 9.73 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.5846, allocations: 23.56 kB / 0.8882 GB, free: 9.707 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/0.5846, allocations: 4 kB / 0.8882 GB, free: 9.703 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.5848, allocations: 338.8 kB / 0.8885 GB, free: 9.363 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.5849, allocations: 71.95 kB / 0.8886 GB, free: 9.293 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.5851, allocations: 129.2 kB / 0.8887 GB, free: 9.137 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.5855, allocations: 87.91 kB / 0.8888 GB, free: 9.051 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.5855, allocations: 4 kB / 0.8888 GB, free: 9.047 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005357/0.586, allocations: 253.2 kB / 0.889 GB, free: 8.793 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003259/0.5864, allocations: 0.6992 MB / 0.8897 GB, free: 8.039 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5864, allocations: 0 / 0.8897 GB, free: 8.039 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.5864, allocations: 7.984 kB / 0.8897 GB, free: 8.031 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.5867, allocations: 47.97 kB / 0.8897 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.5867, allocations: 7.938 kB / 0.8898 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.5869, allocations: 19.83 kB / 0.8898 GB, free: 7.957 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.5869, allocations: 19.98 kB / 0.8898 GB, free: 7.938 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.587, allocations: 7.953 kB / 0.8898 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003738/0.5873, allocations: 163.8 kB / 0.89 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.5874, allocations: 0 / 0.89 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.672e-06/0.5874, allocations: 4 kB / 0.89 GB, free: 7.766 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.5876, allocations: 47.91 kB / 0.89 GB, free: 7.719 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.5876, allocations: 3.984 kB / 0.89 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.5878, allocations: 19.84 kB / 0.89 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.5878, allocations: 15.98 kB / 0.89 GB, free: 7.68 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * 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 0.0001041/0.5879, allocations: 117 kB / 0.8902 GB, free: 7.559 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.588, allocations: 27.67 kB / 0.8902 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/0.5883, allocations: 152.2 kB / 0.8903 GB, free: 7.375 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.5883, allocations: 4 kB / 0.8903 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5884, allocations: 4 kB / 0.8903 GB, free: 7.367 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.5884, allocations: 0 / 0.8903 GB, free: 7.367 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.5887, allocations: 234.1 kB / 0.8906 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5887, allocations: 0 / 0.8906 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.5889, allocations: 31.97 kB / 0.8906 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5889, allocations: 0 / 0.8906 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.5889, allocations: 0 / 0.8906 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5889, allocations: 3.953 kB / 0.8906 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5889, allocations: 0 / 0.8906 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.5892, allocations: 239.1 kB / 0.8908 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.5893, allocations: 120.8 kB / 0.8909 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.029e-05/0.5894, allocations: 4 kB / 0.8909 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.5895, allocations: 11.92 kB / 0.891 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.5896, allocations: 11.94 kB / 0.891 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.5896, allocations: 4 kB / 0.891 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002039/0.5898, allocations: 212.6 kB / 0.8912 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.613e-06/0.5898, allocations: 0 / 0.8912 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007442/0.5906, allocations: 171.7 kB / 0.8913 GB, free: 6.273 MB / 0.5573 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0008531/0.5915, allocations: 381.8 kB / 0.8917 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.5919, allocations: 241.7 kB / 0.8919 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5919, allocations: 0 / 0.8919 GB, free: 5.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.262e-05/0.592, allocations: 47.92 kB / 0.892 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.5924, allocations: 86.66 kB / 0.8921 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.593, allocations: 293.1 kB / 0.8923 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.5934, allocations: 0.7801 MB / 0.8931 GB, free: 4.414 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004452/0.5939, allocations: 121.9 kB / 0.8932 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.535e-05/0.594, allocations: 35.34 kB / 0.8932 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of SimCode: time 2.5e-07/0.594, allocations: 0 / 0.8932 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of Templates: time 0.3472/0.9412, allocations: 6.835 MB / 0.8999 GB, free: 127.8 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)