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.005819/0.005819, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.001142/0.001142, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.8532/0.8532, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 68.14 kB / 0.5955 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1647, allocations: 82.03 MB / 0.6756 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002249/0.167, allocations: 1.261 MB / 0.6769 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009394/0.168, allocations: 0.5919 MB / 0.6774 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.394e-05/0.168, allocations: 0 / 0.6774 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.1681, allocations: 0 / 0.6774 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.445e-05/0.1681, allocations: 0 / 0.6774 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.1686, allocations: 142.5 kB / 0.6776 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.832e-05/0.1687, allocations: 7.938 kB / 0.6776 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.1688, allocations: 11.98 kB / 0.6776 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.715e-05/0.1688, allocations: 7.938 kB / 0.6776 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.252e-05/0.1688, allocations: 4 kB / 0.6776 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1688, allocations: 0 / 0.6776 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004734/0.1693, allocations: 339.3 kB / 0.6779 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.318e-06/0.1693, allocations: 0 / 0.6779 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.1694, allocations: 11.94 kB / 0.6779 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.1696, allocations: 135.7 kB / 0.6781 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1696, allocations: 0 / 0.6781 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1696, allocations: 0 / 0.6781 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1696, allocations: 4 kB / 0.6781 GB, free: 7.855 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.0003666/0.17, allocations: 357.1 kB / 0.6784 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1701, allocations: 12.02 kB / 0.6784 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.1701, allocations: 4.938 kB / 0.6784 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1702, allocations: 164.3 kB / 0.6786 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.1702, allocations: 384 / 0.6786 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.1702, allocations: 384 / 0.6786 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.963e-05/0.1703, allocations: 34.27 kB / 0.6786 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.1703, allocations: 4.188 kB / 0.6786 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.1703, allocations: 3.938 kB / 0.6786 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1703, allocations: 0 / 0.6786 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.687e-05/0.1704, allocations: 11.92 kB / 0.6786 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.1705, allocations: 153.7 kB / 0.6788 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.564e-05/0.1706, allocations: 18.61 kB / 0.6788 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.1706, allocations: 12.91 kB / 0.6788 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.1706, allocations: 0 / 0.6788 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.1706, allocations: 38.56 kB / 0.6788 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.1706, allocations: 0 / 0.6788 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001282/0.1708, allocations: 49.48 kB / 0.6789 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.1708, allocations: 51.41 kB / 0.6789 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.31e-05/0.1709, allocations: 97.84 kB / 0.679 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.1709, allocations: 29.7 kB / 0.6791 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.1709, allocations: 80.39 kB / 0.6791 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.171, allocations: 4 kB / 0.6791 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.171, allocations: 17.72 kB / 0.6792 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.1711, allocations: 310.8 kB / 0.6795 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.071e-05/0.1711, allocations: 0 / 0.6795 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.149e-05/0.1711, allocations: 7.984 kB / 0.6795 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.1712, allocations: 12.86 kB / 0.6795 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1712, allocations: 0 / 0.6795 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.809e-05/0.1712, allocations: 49.61 kB / 0.6795 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1713, allocations: 9.719 kB / 0.6795 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.1713, allocations: 3.938 kB / 0.6795 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1713, allocations: 0 / 0.6795 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.1715, allocations: 11.98 kB / 0.6795 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003349/0.1718, allocations: 0.5821 MB / 0.6801 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.1718, allocations: 4 kB / 0.6801 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.1718, allocations: 4.125 kB / 0.6801 GB, free: 5.5 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 6.772e-05/0.1719, allocations: 117.8 kB / 0.6802 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.1719, allocations: 0 / 0.6802 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.866e-05/0.172, allocations: 52.69 kB / 0.6803 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.172, allocations: 3.984 kB / 0.6803 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.172, allocations: 0 / 0.6803 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1721, allocations: 0 / 0.6803 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.14e-05/0.1721, allocations: 153.6 kB / 0.6804 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1722, allocations: 4.031 kB / 0.6804 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.199e-05/0.1722, allocations: 15.98 kB / 0.6805 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1723, allocations: 0 / 0.6805 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.1723, allocations: 0 / 0.6805 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002713/0.1725, allocations: 0.5898 MB / 0.681 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1725, allocations: 3.938 kB / 0.681 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.971e-05/0.1726, allocations: 69.25 kB / 0.6811 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.1727, allocations: 77.11 kB / 0.6812 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.1727, allocations: 0 / 0.6812 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.356e-05/0.1727, allocations: 0 / 0.6812 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.1727, allocations: 7.938 kB / 0.6812 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-06/0.1727, allocations: 0 / 0.6812 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.87e-05/0.1728, allocations: 75.28 kB / 0.6813 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.5e-07/0.1728, allocations: 128 / 0.6813 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001899/0.173, allocations: 15.94 kB / 0.6813 GB, free: 4.203 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.000153/0.1731, allocations: 121.6 kB / 0.6814 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.1733, allocations: 15.98 kB / 0.6814 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1733, allocations: 0 / 0.6814 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.1734, allocations: 15.98 kB / 0.6814 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.1735, allocations: 0 / 0.6814 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.1738, allocations: 102.2 kB / 0.6815 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.174, allocations: 0.6768 MB / 0.6822 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.523e-05/0.1741, allocations: 7.875 kB / 0.6822 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.1741, allocations: 7.438 kB / 0.6822 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1741, allocations: 0 / 0.6822 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of Templates: time 0.002579/0.1767, allocations: 460.2 kB / 0.6826 GB, free: 2.781 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)