Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008229/0.0008229, allocations: 91.22 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.005569/0.005569, allocations: 169.7 kB / 16.26 MB, free: 6.68 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.142/1.142, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003047, allocations: 8 kB / 0.5164 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1759, allocations: 83.4 MB / 0.5978 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001368/0.1773, allocations: 1.009 MB / 0.5988 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1784, allocations: 0.6268 MB / 0.5994 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.583e-05/0.1785, allocations: 0 / 0.5994 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.295e-05/0.1785, allocations: 0 / 0.5994 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.457e-05/0.1785, allocations: 4 kB / 0.5994 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.179, allocations: 129.8 kB / 0.5996 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.242e-05/0.1791, allocations: 31.91 kB / 0.5996 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.1791, allocations: 0 / 0.5996 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.317e-05/0.1791, allocations: 11.94 kB / 0.5996 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.844e-05/0.1792, allocations: 11.98 kB / 0.5996 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.1792, allocations: 0 / 0.5996 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004611/0.1797, allocations: 347.3 kB / 0.6 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.1797, allocations: 11.92 kB / 0.6 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.1797, allocations: 41.64 kB / 0.6 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.18, allocations: 151.9 kB / 0.6001 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.18, allocations: 0 / 0.6001 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.18, allocations: 0 / 0.6001 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.18, allocations: 0 / 0.6001 GB, free: 5.359 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004141/0.1804, allocations: 359.5 kB / 0.6005 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1805, allocations: 12.03 kB / 0.6005 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.1805, allocations: 8.844 kB / 0.6005 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.1807, allocations: 168.4 kB / 0.6007 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1807, allocations: 8.359 kB / 0.6007 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.1807, allocations: 8.312 kB / 0.6007 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.1808, allocations: 46.25 kB / 0.6007 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1809, allocations: 4.172 kB / 0.6007 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1809, allocations: 7.938 kB / 0.6007 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1809, allocations: 0 / 0.6007 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.577e-05/0.1809, allocations: 23.92 kB / 0.6008 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.1812, allocations: 169.6 kB / 0.6009 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.1813, allocations: 58.56 kB / 0.601 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.1814, allocations: 28.84 kB / 0.601 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1814, allocations: 4 kB / 0.601 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.1814, allocations: 30.56 kB / 0.601 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.1814, allocations: 0 / 0.601 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001147/0.1826, allocations: 0.5954 MB / 0.6016 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.1826, allocations: 55.41 kB / 0.6017 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.882e-05/0.1827, allocations: 89.86 kB / 0.6018 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1827, allocations: 33.7 kB / 0.6018 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.1828, allocations: 80.14 kB / 0.6019 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.1828, allocations: 43.52 kB / 0.6019 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.1829, allocations: 21.7 kB / 0.6019 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.183, allocations: 314.8 kB / 0.6022 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.871e-05/0.1831, allocations: 19.98 kB / 0.6023 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.766e-05/0.1831, allocations: 23.98 kB / 0.6023 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.029e-05/0.1832, allocations: 55.05 kB / 0.6023 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1832, allocations: 4 kB / 0.6023 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001403/0.1833, allocations: 105.5 kB / 0.6024 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1834, allocations: 4 kB / 0.6024 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1834, allocations: 4 kB / 0.6024 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.1834, allocations: 4 kB / 0.6024 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1835, allocations: 19.98 kB / 0.6025 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.1835, allocations: 0 / 0.6025 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.1836, allocations: 4 kB / 0.6025 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1836, allocations: 4 kB / 0.6025 GB, free: 2.668 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.945e-05/0.1837, allocations: 117.8 kB / 0.6026 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.1837, allocations: 3.938 kB / 0.6026 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.1839, allocations: 113.7 kB / 0.6027 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1839, allocations: 0 / 0.6027 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1839, allocations: 0 / 0.6027 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1839, allocations: 0 / 0.6027 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.1843, allocations: 362.4 kB / 0.603 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1843, allocations: 0 / 0.603 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.1844, allocations: 19.98 kB / 0.6031 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1844, allocations: 4 kB / 0.6031 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.1844, allocations: 0 / 0.6031 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1844, allocations: 0 / 0.6031 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1844, allocations: 4 kB / 0.6031 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.1847, allocations: 231.2 kB / 0.6033 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.1847, allocations: 85.02 kB / 0.6034 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.1848, allocations: 8.031 kB / 0.6034 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.263e-05/0.1849, allocations: 0 / 0.6034 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.1849, allocations: 7.984 kB / 0.6034 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.1849, allocations: 4 kB / 0.6034 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.01e-05/0.1849, allocations: 83.34 kB / 0.6035 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1849, allocations: 0 / 0.6035 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002646/0.1852, allocations: 28 kB / 0.6035 GB, free: 1.508 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0002172/0.1854, allocations: 139.2 kB / 0.6036 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.1856, allocations: 67.78 kB / 0.6037 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1856, allocations: 0 / 0.6037 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.983e-05/0.1857, allocations: 32 kB / 0.6037 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.1859, allocations: 16.33 kB / 0.6037 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.1864, allocations: 328.5 kB / 0.6041 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.1867, allocations: 0.688 MB / 0.6047 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.282e-05/0.1867, allocations: 19.92 kB / 0.6047 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.1868, allocations: 11.44 kB / 0.6048 GB, free: 168 kB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1868, allocations: 0 / 0.6048 GB, free: 168 kB / 0.4981 GB Notification: Performance of Templates: time 0.3282/0.515, allocations: 0.9239 MB / 0.6057 GB, free: 40.59 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)