Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000844/0.0008441, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.427/1.427, allocations: 223.3 MB / 241 MB, free: 5.312 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 1.066/1.066, allocations: 143.2 MB / 435.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003483, allocations: 11.98 kB / 0.5171 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1741, allocations: 83.41 MB / 0.5985 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001617/0.1758, allocations: 0.9886 MB / 0.5995 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1771, allocations: 0.6229 MB / 0.6001 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.1772, allocations: 4 kB / 0.6001 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.1772, allocations: 0 / 0.6001 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.058e-05/0.1773, allocations: 7.922 kB / 0.6001 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007344/0.178, allocations: 121.2 kB / 0.6002 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.07e-05/0.1781, allocations: 15.94 kB / 0.6002 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.034e-05/0.1781, allocations: 0 / 0.6002 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.205e-05/0.1782, allocations: 15.97 kB / 0.6002 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.17e-05/0.1783, allocations: 11.94 kB / 0.6003 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.1783, allocations: 4 kB / 0.6003 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005886/0.1789, allocations: 339.3 kB / 0.6006 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.1789, allocations: 3.984 kB / 0.6006 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.505e-05/0.179, allocations: 41.62 kB / 0.6006 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.1792, allocations: 96.11 kB / 0.6007 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1792, allocations: 0 / 0.6007 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1792, allocations: 0 / 0.6007 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.1792, allocations: 0 / 0.6007 GB, free: 5.41 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004681/0.1797, allocations: 359.5 kB / 0.6011 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.1798, allocations: 11.97 kB / 0.6011 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.1798, allocations: 8.844 kB / 0.6011 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.18, allocations: 164.3 kB / 0.6012 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.18, allocations: 384 / 0.6012 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.18, allocations: 4.375 kB / 0.6012 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.1801, allocations: 46.23 kB / 0.6013 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.1802, allocations: 192 / 0.6013 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1802, allocations: 3.938 kB / 0.6013 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1802, allocations: 0 / 0.6013 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.417e-05/0.1802, allocations: 15.98 kB / 0.6013 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.1805, allocations: 157.7 kB / 0.6015 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.1807, allocations: 46.5 kB / 0.6015 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/0.1807, allocations: 16.86 kB / 0.6015 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.1807, allocations: 0 / 0.6015 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.1808, allocations: 30.56 kB / 0.6015 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1808, allocations: 4 kB / 0.6016 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006583/0.1814, allocations: 318.2 kB / 0.6019 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1815, allocations: 51.41 kB / 0.6019 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7e-05/0.1816, allocations: 93.86 kB / 0.602 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1816, allocations: 25.7 kB / 0.602 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.1816, allocations: 84.14 kB / 0.6021 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.1817, allocations: 19.7 kB / 0.6021 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.1817, allocations: 17.72 kB / 0.6021 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1818, allocations: 314.8 kB / 0.6024 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.668e-05/0.1819, allocations: 11.98 kB / 0.6024 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.1819, allocations: 15.94 kB / 0.6025 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.418e-05/0.182, allocations: 32.84 kB / 0.6025 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.182, allocations: 0 / 0.6025 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.603e-05/0.1821, allocations: 69.59 kB / 0.6026 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1821, allocations: 7.938 kB / 0.6026 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.1821, allocations: 0 / 0.6026 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1821, allocations: 4 kB / 0.6026 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.825e-05/0.1822, allocations: 15.98 kB / 0.6026 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.1822, allocations: 3.938 kB / 0.6026 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.1822, allocations: 64 / 0.6026 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1822, allocations: 4 kB / 0.6026 GB, free: 3.219 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.698e-05/0.1823, allocations: 117.8 kB / 0.6027 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.1823, allocations: 3.938 kB / 0.6027 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.1825, allocations: 78.09 kB / 0.6028 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1825, allocations: 0 / 0.6028 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1825, allocations: 4 kB / 0.6028 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1825, allocations: 0 / 0.6028 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.1828, allocations: 311.4 kB / 0.6031 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1828, allocations: 0 / 0.6031 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.523e-05/0.1829, allocations: 19.98 kB / 0.6031 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1829, allocations: 3.984 kB / 0.6031 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1829, allocations: 0 / 0.6031 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.183, allocations: 7.938 kB / 0.6031 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.183, allocations: 0 / 0.6031 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.1832, allocations: 180.3 kB / 0.6033 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.1832, allocations: 85.12 kB / 0.6034 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1832, allocations: 0 / 0.6034 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.1833, allocations: 0 / 0.6034 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.1833, allocations: 11.98 kB / 0.6034 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.1833, allocations: 4 kB / 0.6034 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.79e-05/0.1834, allocations: 79.34 kB / 0.6035 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1834, allocations: 0 / 0.6035 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002503/0.1837, allocations: 19.94 kB / 0.6035 GB, free: 2.195 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001915/0.1839, allocations: 127.2 kB / 0.6036 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.184, allocations: 32.22 kB / 0.6036 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.184, allocations: 0 / 0.6036 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.503e-05/0.184, allocations: 20.11 kB / 0.6036 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.1843, allocations: 20.23 kB / 0.6037 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.1847, allocations: 247.3 kB / 0.6039 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.1849, allocations: 0.677 MB / 0.6046 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.185, allocations: 11.44 kB / 0.6046 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.185, allocations: 0 / 0.6046 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of Templates: time 0.002624/0.1876, allocations: 0.81 MB / 0.6054 GB, free: 204 kB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)