Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 112.3 kB / 16.41 MB, free: 6.008 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.001861/0.001861, allocations: 185 kB / 17.34 MB, free: 5.629 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.2 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.837/0.837, allocations: 143 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 64.22 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1623, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002868/0.1652, allocations: 1.253 MB / 0.6775 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1663, allocations: 0.5957 MB / 0.6781 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.977e-05/0.1664, allocations: 0 / 0.6781 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/0.1664, allocations: 0 / 0.6781 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.374e-05/0.1665, allocations: 3.984 kB / 0.6781 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000701/0.1672, allocations: 135.4 kB / 0.6782 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.296e-05/0.1673, allocations: 19.92 kB / 0.6783 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.626e-05/0.1673, allocations: 4 kB / 0.6783 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.358e-05/0.1674, allocations: 7.938 kB / 0.6783 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.1674, allocations: 4 kB / 0.6783 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1674, allocations: 0 / 0.6783 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006103/0.1681, allocations: 339.3 kB / 0.6786 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.1681, allocations: 4 kB / 0.6786 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.1681, allocations: 7.938 kB / 0.6786 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004726/0.1686, allocations: 135.7 kB / 0.6787 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1686, allocations: 0 / 0.6787 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.675e-06/0.1686, allocations: 0 / 0.6787 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.1687, allocations: 7.984 kB / 0.6787 GB, free: 7.84 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.000637/0.1693, allocations: 347.5 kB / 0.6791 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.1694, allocations: 12.03 kB / 0.6791 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.1694, allocations: 8.875 kB / 0.6791 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.1696, allocations: 160.4 kB / 0.6792 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.1696, allocations: 384 / 0.6792 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.1696, allocations: 384 / 0.6792 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.1697, allocations: 38.23 kB / 0.6793 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1697, allocations: 4.188 kB / 0.6793 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1698, allocations: 3.938 kB / 0.6793 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1698, allocations: 4 kB / 0.6793 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.378e-05/0.1698, allocations: 3.938 kB / 0.6793 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.1701, allocations: 153.7 kB / 0.6794 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.065e-05/0.1701, allocations: 26.59 kB / 0.6795 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.1702, allocations: 12.92 kB / 0.6795 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.1702, allocations: 4 kB / 0.6795 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1702, allocations: 30.56 kB / 0.6795 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1702, allocations: 0 / 0.6795 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002117/0.1705, allocations: 61.41 kB / 0.6796 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.1705, allocations: 51.41 kB / 0.6796 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.1706, allocations: 93.86 kB / 0.6797 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.1707, allocations: 25.7 kB / 0.6797 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.1707, allocations: 84.39 kB / 0.6798 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.1708, allocations: 4 kB / 0.6798 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.1708, allocations: 13.72 kB / 0.6798 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.171, allocations: 314.8 kB / 0.6801 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.171, allocations: 0 / 0.6801 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.285e-05/0.171, allocations: 8 kB / 0.6801 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.524e-05/0.171, allocations: 8.859 kB / 0.6802 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.171, allocations: 64 / 0.6802 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.3e-05/0.1711, allocations: 49.55 kB / 0.6802 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.1712, allocations: 10.66 kB / 0.6802 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.1712, allocations: 7.922 kB / 0.6802 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.1712, allocations: 0 / 0.6802 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.1714, allocations: 8 kB / 0.6802 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004637/0.1719, allocations: 0.5782 MB / 0.6808 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.1719, allocations: 4.125 kB / 0.6808 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1719, allocations: 0 / 0.6808 GB, free: 5.492 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 9.481e-05/0.172, allocations: 117.8 kB / 0.6809 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.1721, allocations: 7.875 kB / 0.6809 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.1722, allocations: 40.83 kB / 0.681 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1722, allocations: 3.984 kB / 0.681 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1722, allocations: 0 / 0.681 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1722, allocations: 0 / 0.681 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.1724, allocations: 157.7 kB / 0.6811 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1724, allocations: 0 / 0.6811 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.766e-05/0.1725, allocations: 11.98 kB / 0.6811 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1725, allocations: 0 / 0.6811 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1725, allocations: 0 / 0.6811 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003619/0.1729, allocations: 0.5937 MB / 0.6817 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1729, allocations: 3.938 kB / 0.6817 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.92e-05/0.173, allocations: 65.25 kB / 0.6818 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.173, allocations: 77.11 kB / 0.6818 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1731, allocations: 0 / 0.6818 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.542e-05/0.1731, allocations: 4 kB / 0.6818 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.1731, allocations: 7.875 kB / 0.6818 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.1731, allocations: 3.984 kB / 0.6819 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.155e-05/0.1732, allocations: 83.28 kB / 0.6819 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.11e-07/0.1732, allocations: 4.125 kB / 0.6819 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002292/0.1734, allocations: 7.938 kB / 0.6819 GB, free: 4.191 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.0002012/0.1736, allocations: 115.2 kB / 0.6821 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001893/0.1738, allocations: 19.98 kB / 0.6821 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1738, allocations: 0 / 0.6821 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.697e-05/0.1739, allocations: 12 kB / 0.6821 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.1741, allocations: 12.72 kB / 0.6821 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.1745, allocations: 123.8 kB / 0.6822 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.1747, allocations: 0.6767 MB / 0.6829 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.1747, allocations: 11.44 kB / 0.6829 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1747, allocations: 3.938 kB / 0.6829 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of Templates: time 0.002605/0.1774, allocations: 0.7095 MB / 0.6836 GB, free: 2.449 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)