Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8261/0.8261, allocations: 143.4 MB / 158.3 MB, free: 5.789 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.001238/0.001239, allocations: 179.8 kB / 191.5 MB, free: 5.766 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.534/1.534, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.0009932/0.0009931, allocations: 88.33 kB / 0.5188 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001615/0.001615, allocations: 259.3 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004849, allocations: 13.88 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1731, allocations: 82.79 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4969/0.67, allocations: 110.4 MB / 0.8815 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.6702, allocations: 88.22 kB / 0.8816 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01642/0.6867, allocations: 5.398 MB / 0.8869 GB, free: 31.13 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.587e-06/0.6867, allocations: 0 / 0.8869 GB, free: 31.13 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.6868, allocations: 0 / 0.8869 GB, free: 31.13 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004782/0.6872, allocations: 355.5 kB / 0.8872 GB, free: 30.76 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.6873, allocations: 13.75 kB / 0.8872 GB, free: 30.75 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.6874, allocations: 1.781 kB / 0.8872 GB, free: 30.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.6875, allocations: 166.2 kB / 0.8874 GB, free: 30.55 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.6875, allocations: 8.812 kB / 0.8874 GB, free: 30.55 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.6875, allocations: 1.312 kB / 0.8874 GB, free: 30.55 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.6876, allocations: 39.78 kB / 0.8874 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.6877, allocations: 0 / 0.8874 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.6877, allocations: 0 / 0.8874 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.6877, allocations: 1.375 kB / 0.8874 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.355e-05/0.6878, allocations: 18.41 kB / 0.8874 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.6881, allocations: 263.1 kB / 0.8877 GB, free: 30.24 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.6884, allocations: 45.73 kB / 0.8877 GB, free: 30.21 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.6884, allocations: 5.203 kB / 0.8877 GB, free: 30.21 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.6884, allocations: 33.53 kB / 0.8878 GB, free: 30.18 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.6884, allocations: 0 / 0.8878 GB, free: 30.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001941/0.6886, allocations: 62.69 kB / 0.8878 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.6887, allocations: 54.88 kB / 0.8879 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.644e-05/0.6888, allocations: 95.25 kB / 0.888 GB, free: 29.98 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.6888, allocations: 25.7 kB / 0.888 GB, free: 29.95 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.6888, allocations: 82.59 kB / 0.8881 GB, free: 29.87 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.6888, allocations: 9.984 kB / 0.8881 GB, free: 29.86 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.6888, allocations: 7.156 kB / 0.8881 GB, free: 29.86 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.6889, allocations: 315.8 kB / 0.8884 GB, free: 29.54 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.6889, allocations: 8.594 kB / 0.8884 GB, free: 29.54 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.689, allocations: 21.75 kB / 0.8884 GB, free: 29.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.671e-05/0.689, allocations: 8.062 kB / 0.8884 GB, free: 29.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.689, allocations: 3.5 kB / 0.8884 GB, free: 29.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001003/0.6891, allocations: 60.7 kB / 0.8885 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.6892, allocations: 4.469 kB / 0.8885 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.6892, allocations: 2.297 kB / 0.8885 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.6892, allocations: 0 / 0.8885 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.22e-05/0.6893, allocations: 13.44 kB / 0.8885 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.6893, allocations: 0.625 kB / 0.8885 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.6893, allocations: 6.875 kB / 0.8885 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.6893, allocations: 1.031 kB / 0.8885 GB, free: 29.48 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 7.515e-05/0.6894, allocations: 113.3 kB / 0.8886 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.6894, allocations: 0.9375 kB / 0.8886 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.6896, allocations: 63.45 kB / 0.8887 GB, free: 29.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.6896, allocations: 4.562 kB / 0.8887 GB, free: 29.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.6896, allocations: 3.984 kB / 0.8887 GB, free: 29.31 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.6896, allocations: 4.688 kB / 0.8887 GB, free: 29.31 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.6898, allocations: 163.1 kB / 0.8889 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6898, allocations: 128 / 0.8889 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.6899, allocations: 10.3 kB / 0.8889 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.6899, allocations: 4.5 kB / 0.8889 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.6899, allocations: 2.688 kB / 0.8889 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.6899, allocations: 0 / 0.8889 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6899, allocations: 0.6094 kB / 0.8889 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.69, allocations: 156.5 kB / 0.889 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.6901, allocations: 81.7 kB / 0.8891 GB, free: 28.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.6901, allocations: 0.75 kB / 0.8891 GB, free: 28.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.479e-05/0.6901, allocations: 0 / 0.8891 GB, free: 28.87 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.6902, allocations: 4 kB / 0.8891 GB, free: 28.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.6902, allocations: 4.297 kB / 0.8891 GB, free: 28.87 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.247e-05/0.6902, allocations: 78.67 kB / 0.8892 GB, free: 28.79 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6902, allocations: 0 / 0.8892 GB, free: 28.79 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002843/0.6905, allocations: 26.86 kB / 0.8892 GB, free: 28.79 MB / 0.5417 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001952/0.6907, allocations: 126.2 kB / 0.8893 GB, free: 28.69 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.115e-05/0.6908, allocations: 24.92 kB / 0.8894 GB, free: 28.69 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6908, allocations: 0 / 0.8894 GB, free: 28.69 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.719e-05/0.6908, allocations: 7.469 kB / 0.8894 GB, free: 28.69 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.691, allocations: 11.28 kB / 0.8894 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.6913, allocations: 134.8 kB / 0.8895 GB, free: 28.56 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.6914, allocations: 0.6784 MB / 0.8902 GB, free: 27.87 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.509e-05/0.6915, allocations: 3.547 kB / 0.8902 GB, free: 27.87 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.571e-05/0.6915, allocations: 10.41 kB / 0.8902 GB, free: 27.86 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.6915, allocations: 0 / 0.8902 GB, free: 27.86 MB / 0.5417 GB Notification: Performance of Templates: time 0.002558/0.694, allocations: 497.8 kB / 0.8907 GB, free: 27.8 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)