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.001309/0.001309, allocations: 111.9 kB / 16.37 MB, free: 6.344 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.001337/0.001337, allocations: 185.5 kB / 17.3 MB, free: 5.898 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.8519/0.8519, allocations: 143.1 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 64.52 kB / 0.5961 GB, free: 12.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1604, allocations: 82.03 MB / 0.6762 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002126/0.1626, allocations: 1.257 MB / 0.6775 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000877/0.1635, allocations: 0.5919 MB / 0.678 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.27e-05/0.1635, allocations: 0 / 0.678 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.1636, allocations: 3.938 kB / 0.6781 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.402e-05/0.1636, allocations: 0 / 0.6781 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.1641, allocations: 142.6 kB / 0.6782 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.309e-05/0.1641, allocations: 7.938 kB / 0.6782 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.1642, allocations: 7.984 kB / 0.6782 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.688e-05/0.1642, allocations: 3.938 kB / 0.6782 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.021e-05/0.1643, allocations: 8 kB / 0.6782 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.1643, allocations: 0 / 0.6782 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004556/0.1647, allocations: 343.3 kB / 0.6785 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.458e-06/0.1647, allocations: 0 / 0.6785 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.1648, allocations: 11.94 kB / 0.6786 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.165, allocations: 135.8 kB / 0.6787 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.165, allocations: 0 / 0.6787 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.273e-06/0.165, allocations: 0 / 0.6787 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.165, allocations: 0 / 0.6787 GB, free: 8.004 MB / 0.5137 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.0003881/0.1654, allocations: 362.1 kB / 0.679 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1655, allocations: 12.03 kB / 0.679 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.1655, allocations: 4.938 kB / 0.679 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.462e-05/0.1656, allocations: 164.3 kB / 0.6792 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.1656, allocations: 384 / 0.6792 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.1656, allocations: 384 / 0.6792 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.974e-05/0.1657, allocations: 34.27 kB / 0.6792 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.1657, allocations: 192 / 0.6792 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1657, allocations: 7.875 kB / 0.6792 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1658, allocations: 3.984 kB / 0.6792 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.303e-05/0.1658, allocations: 8 kB / 0.6793 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.1659, allocations: 149.7 kB / 0.6794 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.878e-05/0.166, allocations: 26.53 kB / 0.6794 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.693e-05/0.166, allocations: 8.922 kB / 0.6794 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.166, allocations: 0 / 0.6794 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.1661, allocations: 34.56 kB / 0.6795 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.1661, allocations: 4 kB / 0.6795 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001327/0.1662, allocations: 45.55 kB / 0.6795 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.1662, allocations: 55.34 kB / 0.6796 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.402e-05/0.1663, allocations: 97.84 kB / 0.6797 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.1663, allocations: 29.7 kB / 0.6797 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.271e-05/0.1663, allocations: 80.14 kB / 0.6798 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.1664, allocations: 0 / 0.6798 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.1664, allocations: 17.97 kB / 0.6798 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.124e-05/0.1665, allocations: 314.8 kB / 0.6801 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.1665, allocations: 0 / 0.6801 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.04e-05/0.1665, allocations: 7.984 kB / 0.6801 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.1666, allocations: 12.86 kB / 0.6801 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1666, allocations: 0 / 0.6801 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.493e-05/0.1666, allocations: 41.55 kB / 0.6801 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1666, allocations: 8 kB / 0.6801 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1667, allocations: 4.031 kB / 0.6801 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.1667, allocations: 4 kB / 0.6802 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1668, allocations: 11.98 kB / 0.6802 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003181/0.1671, allocations: 0.5782 MB / 0.6807 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.1672, allocations: 0 / 0.6807 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.1672, allocations: 4 kB / 0.6807 GB, free: 5.656 MB / 0.5137 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.024e-05/0.1673, allocations: 117.9 kB / 0.6808 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.1673, allocations: 3.984 kB / 0.6808 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.386e-05/0.1674, allocations: 52.69 kB / 0.6809 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1674, allocations: 0 / 0.6809 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1674, allocations: 0 / 0.6809 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1674, allocations: 0 / 0.6809 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.659e-05/0.1675, allocations: 153.6 kB / 0.681 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1675, allocations: 0 / 0.681 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.37e-05/0.1676, allocations: 15.92 kB / 0.6811 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1676, allocations: 4.031 kB / 0.6811 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.1676, allocations: 8 kB / 0.6811 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002606/0.1679, allocations: 0.5859 MB / 0.6816 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.1679, allocations: 11.91 kB / 0.6817 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.314e-05/0.1679, allocations: 61.12 kB / 0.6817 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.168, allocations: 81.23 kB / 0.6818 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.168, allocations: 0 / 0.6818 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.374e-05/0.168, allocations: 0 / 0.6818 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.168, allocations: 7.938 kB / 0.6818 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-06/0.168, allocations: 0 / 0.6818 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.77e-05/0.1681, allocations: 75.28 kB / 0.6819 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1681, allocations: 0 / 0.6819 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001853/0.1683, allocations: 15.92 kB / 0.6819 GB, free: 4.352 MB / 0.5137 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.0001648/0.1684, allocations: 116 kB / 0.682 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001553/0.1686, allocations: 19.92 kB / 0.682 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1686, allocations: 0 / 0.682 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-05/0.1687, allocations: 15.98 kB / 0.682 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.1689, allocations: 0 / 0.682 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.1692, allocations: 131.9 kB / 0.6822 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.1694, allocations: 0.6768 MB / 0.6828 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/0.1694, allocations: 11.38 kB / 0.6828 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.1694, allocations: 0 / 0.6828 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of Templates: time 0.002143/0.1716, allocations: 0.7054 MB / 0.6835 GB, free: 2.617 MB / 0.5137 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)