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.7832/0.7832, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001354/0.001355, allocations: 188.1 kB / 182.2 MB, free: 9.445 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.406/1.406, 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.0009292/0.0009292, allocations: 80.12 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001955/0.001956, allocations: 277 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.689e-05/1.686e-05, allocations: 4 kB / 0.6765 GB, free: 12.79 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.4407, allocations: 82.77 MB / 0.7574 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.595, allocations: 119.9 MB / 0.8745 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.5953, allocations: 87.83 kB / 0.8746 GB, free: 7.789 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0335/0.6288, allocations: 11.06 MB / 0.8854 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6288, allocations: 0 / 0.8854 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.843e-05/0.6289, allocations: 8 kB / 0.8854 GB, free: 12.71 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.001011/0.6299, allocations: 0.5249 MB / 0.8859 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.6299, allocations: 12.03 kB / 0.8859 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/0.6303, allocations: 43.69 kB / 0.886 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.6317, allocations: 0.6244 MB / 0.8866 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.6318, allocations: 4 kB / 0.8866 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.6318, allocations: 7.938 kB / 0.8866 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002233/0.632, allocations: 119.9 kB / 0.8867 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.6322, allocations: 121.6 kB / 0.8868 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.6322, allocations: 0 / 0.8868 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.6323, allocations: 0 / 0.8868 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.6323, allocations: 8 kB / 0.8868 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008397/0.6331, allocations: 456.9 kB / 0.8873 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.6334, allocations: 150.5 kB / 0.8874 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.169e-05/0.6335, allocations: 60.78 kB / 0.8875 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.6335, allocations: 4.156 kB / 0.8875 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.6335, allocations: 38.48 kB / 0.8875 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.6335, allocations: 0 / 0.8875 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0005068/0.6341, allocations: 177.5 kB / 0.8877 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.6341, allocations: 55.41 kB / 0.8877 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.6344, allocations: 273 kB / 0.888 GB, free: 9.883 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.6344, allocations: 25.7 kB / 0.888 GB, free: 9.852 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.6346, allocations: 152.4 kB / 0.8881 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.6346, allocations: 31.55 kB / 0.8882 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/0.6346, allocations: 0 / 0.8882 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6348, allocations: 338.8 kB / 0.8885 GB, free: 9.328 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.6349, allocations: 63.97 kB / 0.8886 GB, free: 9.266 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.635, allocations: 133.4 kB / 0.8887 GB, free: 9.105 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.6353, allocations: 87.97 kB / 0.8888 GB, free: 9.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.6353, allocations: 0 / 0.8888 GB, free: 9.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005007/0.6358, allocations: 249.1 kB / 0.889 GB, free: 8.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000312/0.6361, allocations: 0.7032 MB / 0.8897 GB, free: 8.012 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.6362, allocations: 4 kB / 0.8897 GB, free: 8.008 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6362, allocations: 0 / 0.8897 GB, free: 8.008 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.6364, allocations: 51.91 kB / 0.8897 GB, free: 7.957 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.6365, allocations: 7.984 kB / 0.8898 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.6366, allocations: 23.84 kB / 0.8898 GB, free: 7.926 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.6367, allocations: 15.98 kB / 0.8898 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.6367, allocations: 9.984 kB / 0.8898 GB, free: 7.902 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00037/0.6371, allocations: 159.8 kB / 0.89 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.6371, allocations: 4 kB / 0.89 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.141e-06/0.6371, allocations: 4 kB / 0.89 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.6373, allocations: 52.17 kB / 0.89 GB, free: 7.688 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.6373, allocations: 7.938 kB / 0.89 GB, free: 7.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.6375, allocations: 19.83 kB / 0.89 GB, free: 7.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.6375, allocations: 16 kB / 0.8901 GB, free: 7.645 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.000102/0.6376, allocations: 105 kB / 0.8902 GB, free: 7.535 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.6377, allocations: 27.61 kB / 0.8902 GB, free: 7.508 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003624/0.6381, allocations: 168.1 kB / 0.8903 GB, free: 7.336 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.6381, allocations: 0 / 0.8903 GB, free: 7.336 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6381, allocations: 0 / 0.8903 GB, free: 7.336 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6381, allocations: 3.984 kB / 0.8903 GB, free: 7.332 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.6384, allocations: 230.1 kB / 0.8906 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6384, allocations: 3.984 kB / 0.8906 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.6385, allocations: 27.98 kB / 0.8906 GB, free: 7.039 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.6386, allocations: 0 / 0.8906 GB, free: 7.039 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.6386, allocations: 11.94 kB / 0.8906 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.6386, allocations: 3.953 kB / 0.8906 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.6386, allocations: 0 / 0.8906 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.6389, allocations: 227.2 kB / 0.8908 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.824e-05/0.639, allocations: 112.7 kB / 0.8909 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.639, allocations: 4.188 kB / 0.8909 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.6392, allocations: 11.98 kB / 0.891 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.6392, allocations: 19.81 kB / 0.891 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.6393, allocations: 8 kB / 0.891 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001888/0.6395, allocations: 208.6 kB / 0.8912 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6395, allocations: 0 / 0.8912 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007006/0.6402, allocations: 171.8 kB / 0.8913 GB, free: 6.242 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.0007365/0.6409, allocations: 384 kB / 0.8917 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004597/0.6414, allocations: 238.3 kB / 0.8919 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6414, allocations: 4.312 kB / 0.8919 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.315e-05/0.6415, allocations: 51.92 kB / 0.892 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.6419, allocations: 85.78 kB / 0.8921 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.6425, allocations: 293.1 kB / 0.8923 GB, free: 5.184 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.6429, allocations: 0.7762 MB / 0.8931 GB, free: 4.383 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004655/0.6433, allocations: 126 kB / 0.8932 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.722e-05/0.6434, allocations: 35.42 kB / 0.8933 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of SimCode: time 2.5e-07/0.6434, allocations: 0 / 0.8933 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of Templates: time 0.372/1.015, allocations: 6.826 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)