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.001006/0.001006, allocations: 98.27 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.006248/0.006248, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.499/1.499, allocations: 223.3 MB / 240.3 MB, free: 5.34 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 0.9907/0.9907, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003458, allocations: 8 kB / 0.5164 GB, free: 11.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1847, allocations: 83.4 MB / 0.5978 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001311/0.186, allocations: 0.99 MB / 0.5988 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1871, allocations: 0.6229 MB / 0.5994 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.1871, allocations: 0 / 0.5994 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.1872, allocations: 3.938 kB / 0.5994 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.514e-05/0.1872, allocations: 0 / 0.5994 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004794/0.1877, allocations: 126.1 kB / 0.5995 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.984e-05/0.1878, allocations: 19.94 kB / 0.5996 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.1878, allocations: 0 / 0.5996 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.169e-05/0.1879, allocations: 7.984 kB / 0.5996 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.387e-05/0.1879, allocations: 15.94 kB / 0.5996 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.1879, allocations: 0 / 0.5996 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00048/0.1884, allocations: 347.3 kB / 0.5999 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.1885, allocations: 0 / 0.5999 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.505e-05/0.1885, allocations: 37.62 kB / 0.6 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.1888, allocations: 147.9 kB / 0.6001 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1888, allocations: 0 / 0.6001 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.584e-06/0.1888, allocations: 0 / 0.6001 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.1888, allocations: 0 / 0.6001 GB, free: 5.328 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.0004639/0.1893, allocations: 355.5 kB / 0.6004 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1893, allocations: 16.03 kB / 0.6005 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.1894, allocations: 4.844 kB / 0.6005 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.1895, allocations: 164.4 kB / 0.6006 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1895, allocations: 4.312 kB / 0.6006 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.1896, allocations: 4.375 kB / 0.6006 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.1897, allocations: 46.23 kB / 0.6007 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.1897, allocations: 4.188 kB / 0.6007 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1897, allocations: 3.938 kB / 0.6007 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1897, allocations: 0 / 0.6007 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.71e-05/0.1898, allocations: 11.98 kB / 0.6007 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002121/0.19, allocations: 161.7 kB / 0.6008 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.1901, allocations: 42.5 kB / 0.6009 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.1902, allocations: 16.86 kB / 0.6009 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.1902, allocations: 0 / 0.6009 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.1902, allocations: 38.5 kB / 0.6009 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.1903, allocations: 7.938 kB / 0.6009 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.000645/0.1909, allocations: 314.2 kB / 0.6012 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.1909, allocations: 51.41 kB / 0.6013 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.709e-05/0.191, allocations: 97.86 kB / 0.6014 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.191, allocations: 25.7 kB / 0.6014 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.1911, allocations: 84.14 kB / 0.6015 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.1911, allocations: 23.69 kB / 0.6015 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.1912, allocations: 13.72 kB / 0.6015 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1913, allocations: 318.8 kB / 0.6018 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/0.1913, allocations: 11.98 kB / 0.6018 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/0.1913, allocations: 11.94 kB / 0.6019 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.486e-05/0.1914, allocations: 32.86 kB / 0.6019 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1914, allocations: 0 / 0.6019 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.308e-05/0.1915, allocations: 65.59 kB / 0.6019 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1915, allocations: 7.938 kB / 0.602 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1915, allocations: 0 / 0.602 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1915, allocations: 4 kB / 0.602 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.119e-05/0.1916, allocations: 15.98 kB / 0.602 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1916, allocations: 0 / 0.602 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.1916, allocations: 0 / 0.602 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1917, allocations: 11.94 kB / 0.602 GB, free: 3.125 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.325e-05/0.1917, allocations: 105.8 kB / 0.6021 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.1917, allocations: 7.938 kB / 0.6021 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.1919, allocations: 77.58 kB / 0.6022 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1919, allocations: 0 / 0.6022 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1919, allocations: 4 kB / 0.6022 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1919, allocations: 0.5156 kB / 0.6022 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.1922, allocations: 319.3 kB / 0.6025 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1922, allocations: 0 / 0.6025 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.1923, allocations: 11.98 kB / 0.6025 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1923, allocations: 0 / 0.6025 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.1923, allocations: 4 kB / 0.6025 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1923, allocations: 192 / 0.6025 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1923, allocations: 7.938 kB / 0.6025 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.1926, allocations: 184.3 kB / 0.6027 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.1926, allocations: 85.08 kB / 0.6028 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.1926, allocations: 7.938 kB / 0.6028 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.1927, allocations: 4 kB / 0.6028 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.1927, allocations: 3.984 kB / 0.6028 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.1927, allocations: 4 kB / 0.6028 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.945e-05/0.1928, allocations: 83.34 kB / 0.6029 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1928, allocations: 0 / 0.6029 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002394/0.193, allocations: 23.94 kB / 0.6029 GB, free: 2.094 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.0001852/0.1932, allocations: 123.2 kB / 0.603 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.345e-05/0.1933, allocations: 31.98 kB / 0.603 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.1933, allocations: 0 / 0.603 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-05/0.1934, allocations: 23.92 kB / 0.603 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.1936, allocations: 8.172 kB / 0.6031 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.1941, allocations: 217.8 kB / 0.6033 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.1944, allocations: 0.6848 MB / 0.6039 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.1944, allocations: 7.938 kB / 0.6039 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.1944, allocations: 11.44 kB / 0.6039 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1944, allocations: 0 / 0.6039 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of Templates: time 0.002886/0.1973, allocations: 0.6202 MB / 0.6046 GB, free: 356 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)