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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001412/0.001412, 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.00164/0.00164, allocations: 192.8 kB / 16.13 MB, free: 6.707 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.34/1.34, 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/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/package.mo): time 0.992/0.992, allocations: 143 MB / 433 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 55.91 kB / 0.5135 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1973, allocations: 82.04 MB / 0.5936 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002567/0.1999, allocations: 1.315 MB / 0.5949 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.2011, allocations: 0.6034 MB / 0.5955 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.2011, allocations: 0 / 0.5955 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.202e-05/0.2011, allocations: 0 / 0.5955 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.033e-05/0.2012, allocations: 3.984 kB / 0.5955 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.2017, allocations: 123.6 kB / 0.5956 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.363e-05/0.2018, allocations: 15.88 kB / 0.5956 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.296e-05/0.2018, allocations: 4 kB / 0.5956 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.042e-05/0.2018, allocations: 0 / 0.5956 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.874e-05/0.2019, allocations: 7.984 kB / 0.5956 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.2019, allocations: 0 / 0.5956 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005/0.2024, allocations: 343.3 kB / 0.596 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.218e-06/0.2024, allocations: 0 / 0.596 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.2025, allocations: 7.938 kB / 0.596 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.2027, allocations: 139.9 kB / 0.5961 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2027, allocations: 0 / 0.5961 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2028, allocations: 4 kB / 0.5961 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2028, allocations: 3.938 kB / 0.5961 GB, free: 7.5 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.000406/0.2032, allocations: 351.5 kB / 0.5964 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2032, allocations: 8.031 kB / 0.5964 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.2033, allocations: 4.938 kB / 0.5964 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.2034, allocations: 168.3 kB / 0.5966 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.2034, allocations: 384 / 0.5966 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.2034, allocations: 384 / 0.5966 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.2035, allocations: 38.2 kB / 0.5966 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2036, allocations: 4.172 kB / 0.5967 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.2036, allocations: 3.938 kB / 0.5967 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2036, allocations: 0 / 0.5967 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.888e-05/0.2036, allocations: 8 kB / 0.5967 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.2038, allocations: 153.7 kB / 0.5968 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.959e-05/0.2038, allocations: 22.58 kB / 0.5968 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.2039, allocations: 12.92 kB / 0.5968 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.2039, allocations: 0 / 0.5968 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.2039, allocations: 38.48 kB / 0.5969 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.2039, allocations: 0 / 0.5969 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001394/0.2041, allocations: 45.64 kB / 0.5969 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.2041, allocations: 51.41 kB / 0.597 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.013e-05/0.2042, allocations: 93.86 kB / 0.5971 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2042, allocations: 29.94 kB / 0.5971 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.2043, allocations: 88.14 kB / 0.5972 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.2043, allocations: 3.906 kB / 0.5972 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.2043, allocations: 9.719 kB / 0.5972 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2045, allocations: 318.8 kB / 0.5975 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.138e-05/0.2045, allocations: 0 / 0.5975 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.238e-05/0.2045, allocations: 7.938 kB / 0.5975 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.2045, allocations: 8.859 kB / 0.5975 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.2046, allocations: 8.047 kB / 0.5975 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.104e-05/0.2046, allocations: 41.64 kB / 0.5976 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2046, allocations: 4 kB / 0.5976 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.2047, allocations: 7.938 kB / 0.5976 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.2047, allocations: 0 / 0.5976 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.2048, allocations: 11.98 kB / 0.5976 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000387/0.2052, allocations: 0.586 MB / 0.5981 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.2053, allocations: 4.062 kB / 0.5982 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.2053, allocations: 0 / 0.5982 GB, free: 5.148 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 6.961e-05/0.2054, allocations: 113.8 kB / 0.5983 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.2054, allocations: 7.938 kB / 0.5983 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.2055, allocations: 44.81 kB / 0.5983 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2055, allocations: 0 / 0.5983 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2055, allocations: 0 / 0.5983 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2055, allocations: 4.031 kB / 0.5983 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.2056, allocations: 157.5 kB / 0.5985 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2056, allocations: 0 / 0.5985 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.391e-05/0.2057, allocations: 19.92 kB / 0.5985 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2057, allocations: 0 / 0.5985 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.2058, allocations: 0 / 0.5985 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003234/0.2061, allocations: 0.5782 MB / 0.599 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2061, allocations: 3.938 kB / 0.5991 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.825e-05/0.2062, allocations: 77.19 kB / 0.5991 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.2062, allocations: 77.11 kB / 0.5992 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.2062, allocations: 0 / 0.5992 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.445e-05/0.2063, allocations: 0 / 0.5992 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.2063, allocations: 7.938 kB / 0.5992 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.2063, allocations: 0 / 0.5992 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.311e-05/0.2063, allocations: 79.31 kB / 0.5993 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2063, allocations: 0 / 0.5993 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002035/0.2065, allocations: 12 kB / 0.5993 GB, free: 3.855 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.0001963/0.2067, allocations: 111.2 kB / 0.5994 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001562/0.2069, allocations: 19.98 kB / 0.5994 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2069, allocations: 0 / 0.5994 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.945e-05/0.207, allocations: 20.08 kB / 0.5994 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.2072, allocations: 8.609 kB / 0.5994 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.2076, allocations: 100.3 kB / 0.5995 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.2078, allocations: 0.6731 MB / 0.6002 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.682e-05/0.2079, allocations: 0 / 0.6002 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.2079, allocations: 7.438 kB / 0.6002 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2079, allocations: 4 kB / 0.6002 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of Templates: time 0.002672/0.2106, allocations: 450.8 kB / 0.6006 GB, free: 2.445 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)