Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009695/0.0009695, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0009091/0.0009091, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001778/0.001778, allocations: 270.7 kB / 291.3 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9746/0.9746, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006258/0.0006258, allocations: 13.66 kB / 0.598 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1842, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001983/0.1863, allocations: 0.9638 MB / 0.6854 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1875, allocations: 0.5366 MB / 0.686 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.125e-05/0.1875, allocations: 0 / 0.686 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.293e-05/0.1876, allocations: 0 / 0.686 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.1876, allocations: 0 / 0.686 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006142/0.1882, allocations: 121.3 kB / 0.6861 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.937e-05/0.1883, allocations: 7.938 kB / 0.6861 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.1884, allocations: 0.6875 kB / 0.6861 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.1884, allocations: 4 kB / 0.6861 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.991e-05/0.1885, allocations: 4.438 kB / 0.6861 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1885, allocations: 3.938 kB / 0.6861 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007082/0.1892, allocations: 339.9 kB / 0.6864 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.1892, allocations: 0.5312 kB / 0.6864 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.1893, allocations: 29.7 kB / 0.6864 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.1895, allocations: 94.52 kB / 0.6865 GB, free: 13.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1895, allocations: 4 kB / 0.6865 GB, free: 13.37 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1895, allocations: 0 / 0.6865 GB, free: 13.37 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1895, allocations: 0 / 0.6865 GB, free: 13.37 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004129/0.19, allocations: 351.2 kB / 0.6869 GB, free: 12.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.19, allocations: 8.781 kB / 0.6869 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.1901, allocations: 3.953 kB / 0.6869 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.1902, allocations: 172.6 kB / 0.687 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1902, allocations: 4 kB / 0.6871 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.1902, allocations: 0 / 0.6871 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.1904, allocations: 42.28 kB / 0.6871 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1904, allocations: 1.344 kB / 0.6871 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1904, allocations: 0 / 0.6871 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1904, allocations: 0 / 0.6871 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.513e-05/0.1904, allocations: 7.953 kB / 0.6871 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.1907, allocations: 157 kB / 0.6873 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.96e-05/0.1907, allocations: 22.58 kB / 0.6873 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.1908, allocations: 8.922 kB / 0.6873 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1908, allocations: 0 / 0.6873 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.1908, allocations: 35.34 kB / 0.6873 GB, free: 12.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1908, allocations: 7.875 kB / 0.6873 GB, free: 12.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001573/0.191, allocations: 38.38 kB / 0.6874 GB, free: 12.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.1911, allocations: 56.28 kB / 0.6874 GB, free: 12.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.669e-05/0.1911, allocations: 94.61 kB / 0.6875 GB, free: 12.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.1911, allocations: 25.7 kB / 0.6875 GB, free: 12.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/0.1912, allocations: 81.45 kB / 0.6876 GB, free: 12.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.1912, allocations: 7.906 kB / 0.6876 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.1912, allocations: 0 / 0.6876 GB, free: 12.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.1913, allocations: 327 kB / 0.6879 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.1913, allocations: 0 / 0.6879 GB, free: 11.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-06/0.1913, allocations: 4 kB / 0.6879 GB, free: 11.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.708e-05/0.1913, allocations: 4 kB / 0.6879 GB, free: 11.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1914, allocations: 0 / 0.6879 GB, free: 11.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.296e-05/0.1914, allocations: 41.64 kB / 0.688 GB, free: 11.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1914, allocations: 4 kB / 0.688 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1915, allocations: 0 / 0.688 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.1915, allocations: 0 / 0.688 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.1916, allocations: 16.08 kB / 0.688 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003217/0.192, allocations: 0.5859 MB / 0.6886 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.192, allocations: 4.031 kB / 0.6886 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.192, allocations: 0 / 0.6886 GB, free: 11.06 MB / 494.1 MB 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.419e-05/0.1921, allocations: 114.4 kB / 0.6887 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-06/0.1921, allocations: 4.094 kB / 0.6887 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.878e-05/0.1922, allocations: 44.77 kB / 0.6887 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1922, allocations: 7.953 kB / 0.6887 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1922, allocations: 0 / 0.6887 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1922, allocations: 3.984 kB / 0.6887 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.904e-05/0.1923, allocations: 145.7 kB / 0.6889 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1923, allocations: 4 kB / 0.6889 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.001e-05/0.1924, allocations: 7.984 kB / 0.6889 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.1924, allocations: 4 kB / 0.6889 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.1924, allocations: 0 / 0.6889 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002639/0.1927, allocations: 0.5899 MB / 0.6895 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1927, allocations: 0 / 0.6895 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.893e-05/0.1928, allocations: 65.06 kB / 0.6895 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.1928, allocations: 85.05 kB / 0.6896 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.1928, allocations: 12.02 kB / 0.6896 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.538e-05/0.1929, allocations: 0 / 0.6896 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.1929, allocations: 0 / 0.6896 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-06/0.1929, allocations: 4 kB / 0.6896 GB, free: 9.855 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.149e-05/0.1929, allocations: 87.27 kB / 0.6897 GB, free: 9.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.502e-06/0.1929, allocations: 0 / 0.6897 GB, free: 9.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000244/0.1932, allocations: 11.94 kB / 0.6897 GB, free: 9.758 MB / 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000147/0.1933, allocations: 111.3 kB / 0.6898 GB, free: 9.637 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.1935, allocations: 16 kB / 0.6898 GB, free: 9.621 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1935, allocations: 0 / 0.6898 GB, free: 9.621 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.562e-05/0.1936, allocations: 19.98 kB / 0.6899 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.1937, allocations: 0.75 kB / 0.6899 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.194, allocations: 107.3 kB / 0.69 GB, free: 9.473 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.1942, allocations: 0.677 MB / 0.6906 GB, free: 8.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.573e-05/0.1942, allocations: 0 / 0.6906 GB, free: 8.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.479e-05/0.1942, allocations: 7.438 kB / 0.6906 GB, free: 8.762 MB / 494.1 MB Notification: Performance of SimCode: time 1.603e-06/0.1943, allocations: 0 / 0.6906 GB, free: 8.762 MB / 494.1 MB Notification: Performance of Templates: time 0.002244/0.1965, allocations: 436.6 kB / 0.691 GB, free: 8.367 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)