Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000944/0.0009439, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007819/0.007819, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.469/1.469, allocations: 223.3 MB / 240.3 MB, free: 5.316 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.108/1.108, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003472, allocations: 12 kB / 0.5164 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1727, allocations: 83.41 MB / 0.5978 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001829/0.1745, allocations: 1.2 MB / 0.599 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1756, allocations: 0.6268 MB / 0.5996 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.1757, allocations: 4 kB / 0.5996 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.1757, allocations: 3.984 kB / 0.5996 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.022e-05/0.1758, allocations: 3.938 kB / 0.5996 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005547/0.1763, allocations: 135.6 kB / 0.5998 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.756e-05/0.1764, allocations: 55.78 kB / 0.5998 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.1765, allocations: 0 / 0.5998 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.004e-05/0.1765, allocations: 27.91 kB / 0.5998 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.506e-05/0.1766, allocations: 23.92 kB / 0.5999 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1766, allocations: 4 kB / 0.5999 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000496/0.1771, allocations: 343.3 kB / 0.6002 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.562e-05/0.1772, allocations: 15.92 kB / 0.6002 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.1772, allocations: 49.58 kB / 0.6003 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.1775, allocations: 175.8 kB / 0.6004 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1775, allocations: 0 / 0.6004 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1775, allocations: 0 / 0.6004 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.1775, allocations: 0 / 0.6004 GB, free: 4.988 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005769/0.1781, allocations: 398.4 kB / 0.6008 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1782, allocations: 8.031 kB / 0.6008 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.1782, allocations: 12.78 kB / 0.6008 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1783, allocations: 160.4 kB / 0.601 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.1784, allocations: 12.31 kB / 0.601 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.1784, allocations: 4.375 kB / 0.601 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.1786, allocations: 92.44 kB / 0.6011 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1787, allocations: 4.188 kB / 0.6011 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1787, allocations: 7.938 kB / 0.6011 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1787, allocations: 0 / 0.6011 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.1789, allocations: 59.89 kB / 0.6012 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.1795, allocations: 332.6 kB / 0.6015 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.1798, allocations: 98.47 kB / 0.6016 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.18, allocations: 28.84 kB / 0.6016 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.18, allocations: 0 / 0.6016 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.18, allocations: 34.56 kB / 0.6016 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.18, allocations: 4 kB / 0.6016 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001683/0.1817, allocations: 0.6735 MB / 0.6023 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.1818, allocations: 55.41 kB / 0.6023 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.861e-05/0.1818, allocations: 105.8 kB / 0.6024 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1819, allocations: 29.7 kB / 0.6025 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.1819, allocations: 88.05 kB / 0.6026 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.182, allocations: 39.45 kB / 0.6026 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.182, allocations: 21.7 kB / 0.6026 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1821, allocations: 310.8 kB / 0.6029 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.1823, allocations: 39.97 kB / 0.603 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.1824, allocations: 35.98 kB / 0.603 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.1827, allocations: 80.77 kB / 0.6031 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1827, allocations: 0 / 0.6031 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003277/0.183, allocations: 132.8 kB / 0.6032 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.183, allocations: 5.875 kB / 0.6032 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1831, allocations: 0 / 0.6032 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1831, allocations: 4 kB / 0.6032 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.1832, allocations: 31.91 kB / 0.6032 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1832, allocations: 7.938 kB / 0.6032 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.118e-05/0.1833, allocations: 15.94 kB / 0.6033 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.1833, allocations: 4 kB / 0.6033 GB, free: 1.793 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 (13): * Single equations (assignments): 13 * 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.639e-05/0.1834, allocations: 109.8 kB / 0.6034 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.1835, allocations: 4 kB / 0.6034 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003898/0.1839, allocations: 141.5 kB / 0.6035 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1839, allocations: 4 kB / 0.6035 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1839, allocations: 3.938 kB / 0.6035 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.1839, allocations: 3.938 kB / 0.6035 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005755/0.1845, allocations: 398.5 kB / 0.6039 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1845, allocations: 4 kB / 0.6039 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.1846, allocations: 24.17 kB / 0.6039 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.1846, allocations: 0 / 0.6039 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1847, allocations: 11.88 kB / 0.6039 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1847, allocations: 0 / 0.6039 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1847, allocations: 3.984 kB / 0.6039 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005169/0.1852, allocations: 259.4 kB / 0.6042 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.1852, allocations: 85 kB / 0.6043 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.1853, allocations: 7.969 kB / 0.6043 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.1854, allocations: 8 kB / 0.6043 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.1854, allocations: 8.047 kB / 0.6043 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.1854, allocations: 8 kB / 0.6043 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.726e-05/0.1855, allocations: 87.27 kB / 0.6044 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.1855, allocations: 0 / 0.6044 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002815/0.1858, allocations: 35.94 kB / 0.6044 GB, free: 0.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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 (11): * Single equations (assignments): 11 * 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.0002634/0.186, allocations: 139.1 kB / 0.6045 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.1864, allocations: 95.94 kB / 0.6046 GB, free: 268 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1864, allocations: 0 / 0.6046 GB, free: 268 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.1866, allocations: 51.86 kB / 0.6047 GB, free: 216 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.1868, allocations: 16.88 kB / 0.6047 GB, free: 204 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3283/0.5152, allocations: 368 kB / 0.6051 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.5154, allocations: 0.6929 MB / 0.6057 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.5156, allocations: 16.78 kB / 0.6057 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.5157, allocations: 15.58 kB / 0.6058 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of SimCode: time 1.803e-06/0.5157, allocations: 0 / 0.6058 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.005603/0.5213, allocations: 1.102 MB / 0.6068 GB, free: 40.14 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)