Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001615/0.001614, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0021/0.0021, allocations: 193.4 kB / 16.14 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.02/1.02, allocations: 143.3 MB / 433.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.89 kB / 0.5138 GB, free: 11.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1862, allocations: 82.03 MB / 0.5939 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00246/0.1887, allocations: 1.302 MB / 0.5951 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1897, allocations: 0.6073 MB / 0.5957 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.635e-05/0.1898, allocations: 4 kB / 0.5957 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.1898, allocations: 4 kB / 0.5957 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.808e-05/0.1899, allocations: 0 / 0.5957 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.1903, allocations: 123 kB / 0.5959 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.101e-05/0.1904, allocations: 11.94 kB / 0.5959 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.1904, allocations: 0 / 0.5959 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.961e-05/0.1905, allocations: 7.984 kB / 0.5959 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.193e-05/0.1905, allocations: 0 / 0.5959 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.1905, allocations: 0 / 0.5959 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004883/0.191, allocations: 347.3 kB / 0.5962 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.1911, allocations: 11.97 kB / 0.5962 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.1911, allocations: 7.875 kB / 0.5962 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.1914, allocations: 136 kB / 0.5964 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1914, allocations: 0 / 0.5964 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.776e-06/0.1914, allocations: 0 / 0.5964 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.1914, allocations: 3.938 kB / 0.5964 GB, free: 7.281 MB / 0.4981 GB 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.000393/0.1918, allocations: 347.5 kB / 0.5967 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1918, allocations: 8.031 kB / 0.5967 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.1919, allocations: 8.938 kB / 0.5967 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.192, allocations: 164.3 kB / 0.5969 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.192, allocations: 4.375 kB / 0.5969 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.192, allocations: 384 / 0.5969 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.869e-05/0.1921, allocations: 38.19 kB / 0.5969 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.1921, allocations: 192 / 0.5969 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1922, allocations: 3.938 kB / 0.5969 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1922, allocations: 0 / 0.5969 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.632e-05/0.1922, allocations: 4 kB / 0.5969 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.1924, allocations: 157.7 kB / 0.5971 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.007e-05/0.1924, allocations: 18.61 kB / 0.5971 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.358e-05/0.1925, allocations: 12.92 kB / 0.5971 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1925, allocations: 3.938 kB / 0.5971 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.1925, allocations: 34.55 kB / 0.5971 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1925, allocations: 0 / 0.5971 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001382/0.1927, allocations: 53.62 kB / 0.5972 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.1927, allocations: 51.41 kB / 0.5972 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.961e-05/0.1928, allocations: 93.86 kB / 0.5973 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1928, allocations: 25.7 kB / 0.5973 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.1928, allocations: 80.14 kB / 0.5974 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.1929, allocations: 3.906 kB / 0.5974 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.1929, allocations: 21.7 kB / 0.5974 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.193, allocations: 311.1 kB / 0.5977 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.193, allocations: 4 kB / 0.5977 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.173e-05/0.1931, allocations: 7.938 kB / 0.5977 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/0.1931, allocations: 12.86 kB / 0.5978 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1931, allocations: 0 / 0.5978 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.877e-05/0.1932, allocations: 45.62 kB / 0.5978 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1932, allocations: 9.406 kB / 0.5978 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1932, allocations: 3.938 kB / 0.5978 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.1932, allocations: 0 / 0.5978 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.1934, allocations: 12.09 kB / 0.5978 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003303/0.1937, allocations: 0.586 MB / 0.5984 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.1937, allocations: 0 / 0.5984 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1938, allocations: 0 / 0.5984 GB, free: 4.938 MB / 0.4981 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.558e-05/0.1938, allocations: 117.8 kB / 0.5985 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-06/0.1939, allocations: 96 / 0.5985 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.612e-05/0.194, allocations: 48.81 kB / 0.5986 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.194, allocations: 0 / 0.5986 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.194, allocations: 0 / 0.5986 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.194, allocations: 3.938 kB / 0.5986 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.553e-05/0.1941, allocations: 161.5 kB / 0.5987 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1941, allocations: 4 kB / 0.5987 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.647e-05/0.1942, allocations: 8 kB / 0.5987 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1942, allocations: 0 / 0.5987 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.1942, allocations: 0 / 0.5987 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003059/0.1945, allocations: 0.5822 MB / 0.5993 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.1945, allocations: 11.95 kB / 0.5993 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.005e-05/0.1946, allocations: 61.08 kB / 0.5994 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.1946, allocations: 77.11 kB / 0.5994 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.1947, allocations: 128 / 0.5994 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.604e-05/0.1947, allocations: 7.984 kB / 0.5994 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.1947, allocations: 7.938 kB / 0.5995 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.1947, allocations: 0 / 0.5995 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.288e-05/0.1948, allocations: 79.28 kB / 0.5995 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1948, allocations: 0 / 0.5995 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002113/0.195, allocations: 12 kB / 0.5995 GB, free: 3.645 MB / 0.4981 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000226/0.1952, allocations: 115.2 kB / 0.5997 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001807/0.1954, allocations: 23.98 kB / 0.5997 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1954, allocations: 0 / 0.5997 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.865e-05/0.1955, allocations: 19.86 kB / 0.5997 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.1957, allocations: 8 kB / 0.5997 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.196, allocations: 92.36 kB / 0.5998 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.1962, allocations: 0.6772 MB / 0.6005 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.642e-05/0.1963, allocations: 0 / 0.6005 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.4e-05/0.1963, allocations: 11.44 kB / 0.6005 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1963, allocations: 0 / 0.6005 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of Templates: time 0.002362/0.1987, allocations: 454.3 kB / 0.6009 GB, free: 2.227 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)