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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.001203/0.001203, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001419/0.001419, allocations: 177.3 kB / 15.94 MB, free: 228 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.335/1.335, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9565/0.9566, allocations: 143.3 MB / 434.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002906/0.0002906, allocations: 8 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1946, allocations: 83.4 MB / 0.5973 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001642/0.1963, allocations: 0.9628 MB / 0.5982 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007777/0.1971, allocations: 299.2 kB / 0.5985 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.1971, allocations: 0 / 0.5985 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.1972, allocations: 4 kB / 0.5985 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.653e-05/0.1972, allocations: 7.984 kB / 0.5985 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.1976, allocations: 55.78 kB / 0.5986 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.459e-05/0.1977, allocations: 7.984 kB / 0.5986 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.1978, allocations: 0 / 0.5986 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.203e-05/0.1978, allocations: 8 kB / 0.5986 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.253e-05/0.1978, allocations: 7.938 kB / 0.5986 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.1979, allocations: 0 / 0.5986 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000444/0.1983, allocations: 179.8 kB / 0.5988 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.1984, allocations: 3.938 kB / 0.5988 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.1984, allocations: 25.7 kB / 0.5988 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.1986, allocations: 56.16 kB / 0.5988 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.1986, allocations: 0 / 0.5988 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1986, allocations: 0 / 0.5988 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.1986, allocations: 0 / 0.5988 GB, free: 6.203 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.0003988/0.199, allocations: 335.3 kB / 0.5992 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1991, allocations: 8.031 kB / 0.5992 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.1991, allocations: 7.953 kB / 0.5992 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1993, allocations: 159.1 kB / 0.5993 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1993, allocations: 4 kB / 0.5993 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.1993, allocations: 0 / 0.5993 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.1994, allocations: 37.69 kB / 0.5994 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1995, allocations: 0 / 0.5994 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1995, allocations: 0 / 0.5994 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1995, allocations: 0 / 0.5994 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.937e-05/0.1995, allocations: 7.938 kB / 0.5994 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.1998, allocations: 161.5 kB / 0.5995 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.819e-05/0.1998, allocations: 22.61 kB / 0.5996 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1999, allocations: 0 / 0.5996 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1999, allocations: 30.56 kB / 0.5996 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.1999, allocations: 0 / 0.5996 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001735/0.2001, allocations: 45.69 kB / 0.5996 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.2001, allocations: 63.47 kB / 0.5997 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.2002, allocations: 93.86 kB / 0.5998 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.2003, allocations: 25.7 kB / 0.5998 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.2003, allocations: 80.14 kB / 0.5999 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.2003, allocations: 7.906 kB / 0.5999 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.2004, allocations: 0 / 0.5999 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2005, allocations: 314.8 kB / 0.6002 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.018e-05/0.2005, allocations: 7.984 kB / 0.6002 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.19e-05/0.2005, allocations: 8.125 kB / 0.6002 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.401e-05/0.2006, allocations: 4 kB / 0.6002 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2006, allocations: 0 / 0.6002 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001042/0.2007, allocations: 37.64 kB / 0.6002 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2007, allocations: 4 kB / 0.6002 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2008, allocations: 4 kB / 0.6003 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2008, allocations: 0 / 0.6003 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.201, allocations: 11.98 kB / 0.6003 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000491/0.2015, allocations: 0.59 MB / 0.6008 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.069e-05/0.2016, allocations: 7.969 kB / 0.6008 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.2016, allocations: 0 / 0.6008 GB, free: 3.918 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 (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 9.965e-05/0.2017, allocations: 108.2 kB / 0.601 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.2017, allocations: 3.984 kB / 0.601 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.2019, allocations: 44.77 kB / 0.601 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2019, allocations: 8.125 kB / 0.601 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2019, allocations: 3.984 kB / 0.601 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.2019, allocations: 7.938 kB / 0.601 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.2021, allocations: 149.7 kB / 0.6012 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2021, allocations: 0 / 0.6012 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.2022, allocations: 11.98 kB / 0.6012 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.2023, allocations: 0 / 0.6012 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.2023, allocations: 0 / 0.6012 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000403/0.2027, allocations: 0.5898 MB / 0.6017 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2027, allocations: 3.938 kB / 0.6017 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.2028, allocations: 61.16 kB / 0.6018 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.2029, allocations: 81.11 kB / 0.6019 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.2029, allocations: 0 / 0.6019 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.911e-05/0.2029, allocations: 3.953 kB / 0.6019 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.203, allocations: 128 / 0.6019 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.203, allocations: 7.938 kB / 0.6019 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.405e-05/0.2031, allocations: 83.27 kB / 0.602 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2031, allocations: 0 / 0.602 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003389/0.2034, allocations: 12 kB / 0.602 GB, free: 2.629 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 (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.0002315/0.2037, allocations: 111.2 kB / 0.6021 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.2039, allocations: 19.92 kB / 0.6021 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2039, allocations: 4.156 kB / 0.6021 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.2041, allocations: 15.98 kB / 0.6021 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.2042, allocations: 0 / 0.6021 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.2046, allocations: 111.2 kB / 0.6022 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.2049, allocations: 0.6731 MB / 0.6029 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.842e-05/0.205, allocations: 4.062 kB / 0.6029 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.328e-05/0.205, allocations: 7.438 kB / 0.6029 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.205, allocations: 0 / 0.6029 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of Templates: time 0.00236/0.2073, allocations: 431.3 kB / 0.6033 GB, free: 1.234 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: