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.001112/0.001112, allocations: 99.42 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.001042/0.001042, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.477/1.477, allocations: 223.3 MB / 241 MB, free: 5.273 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.059/1.059, allocations: 143.2 MB / 435.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003501, allocations: 15.98 kB / 0.5171 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.196, allocations: 83.4 MB / 0.5985 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001525/0.1976, allocations: 1.009 MB / 0.5995 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1988, allocations: 0.6229 MB / 0.6001 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.1989, allocations: 0 / 0.6001 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.1989, allocations: 8 kB / 0.6001 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.107e-05/0.1989, allocations: 0 / 0.6001 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.1996, allocations: 137.6 kB / 0.6002 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.367e-05/0.1997, allocations: 23.92 kB / 0.6003 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.229e-05/0.1998, allocations: 4 kB / 0.6003 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.341e-05/0.1998, allocations: 15.92 kB / 0.6003 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.1999, allocations: 7.984 kB / 0.6003 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1999, allocations: 4 kB / 0.6003 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000536/0.2004, allocations: 347.3 kB / 0.6006 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.2005, allocations: 11.94 kB / 0.6006 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.2005, allocations: 41.62 kB / 0.6007 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.2007, allocations: 96.11 kB / 0.6008 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2008, allocations: 0 / 0.6008 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2008, allocations: 0 / 0.6008 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.2008, allocations: 0 / 0.6008 GB, free: 5.391 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.0004701/0.2012, allocations: 359.5 kB / 0.6011 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2013, allocations: 8.031 kB / 0.6011 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.2013, allocations: 12.84 kB / 0.6011 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.2015, allocations: 164.4 kB / 0.6013 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.2015, allocations: 4.375 kB / 0.6013 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.2016, allocations: 4.375 kB / 0.6013 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.2017, allocations: 54.17 kB / 0.6013 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2017, allocations: 192 / 0.6013 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.2018, allocations: 11.94 kB / 0.6014 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.2018, allocations: 0 / 0.6014 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.073e-05/0.2018, allocations: 19.98 kB / 0.6014 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.2021, allocations: 169.6 kB / 0.6015 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.2022, allocations: 54.56 kB / 0.6016 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.772e-05/0.2023, allocations: 28.78 kB / 0.6016 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.2023, allocations: 7.938 kB / 0.6016 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.2023, allocations: 38.5 kB / 0.6017 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2023, allocations: 0 / 0.6017 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001241/0.2036, allocations: 0.5878 MB / 0.6022 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.2036, allocations: 51.41 kB / 0.6023 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.2037, allocations: 97.84 kB / 0.6024 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.2038, allocations: 29.7 kB / 0.6024 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.2038, allocations: 88.2 kB / 0.6025 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/0.2039, allocations: 39.39 kB / 0.6025 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.2039, allocations: 17.72 kB / 0.6025 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.204, allocations: 318.8 kB / 0.6028 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-05/0.2041, allocations: 19.98 kB / 0.6029 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/0.2041, allocations: 23.98 kB / 0.6029 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.074e-05/0.2042, allocations: 51.11 kB / 0.6029 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2042, allocations: 0 / 0.6029 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001499/0.2044, allocations: 113.5 kB / 0.603 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2044, allocations: 8 kB / 0.6031 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2044, allocations: 0 / 0.6031 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2044, allocations: 0 / 0.6031 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.2045, allocations: 23.98 kB / 0.6031 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2046, allocations: 0 / 0.6031 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.2046, allocations: 4 kB / 0.6031 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.2046, allocations: 4 kB / 0.6031 GB, free: 2.703 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 8.035e-05/0.2047, allocations: 113.8 kB / 0.6032 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.2047, allocations: 7.938 kB / 0.6032 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.2049, allocations: 113.6 kB / 0.6033 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.2049, allocations: 0 / 0.6033 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.2049, allocations: 3.984 kB / 0.6033 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.205, allocations: 3.984 kB / 0.6033 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.2054, allocations: 362.6 kB / 0.6037 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2054, allocations: 0 / 0.6037 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.2055, allocations: 16 kB / 0.6037 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.2055, allocations: 0 / 0.6037 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.2055, allocations: 11.98 kB / 0.6037 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2055, allocations: 0 / 0.6037 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2056, allocations: 0 / 0.6037 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.2058, allocations: 219.2 kB / 0.6039 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.2059, allocations: 85.05 kB / 0.604 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.2059, allocations: 4 kB / 0.604 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.206, allocations: 7.984 kB / 0.604 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.206, allocations: 4 kB / 0.604 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.206, allocations: 4.062 kB / 0.604 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.894e-05/0.2061, allocations: 83.28 kB / 0.6041 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2061, allocations: 0 / 0.6041 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000276/0.2063, allocations: 31.98 kB / 0.6041 GB, free: 1.543 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.000233/0.2066, allocations: 137.3 kB / 0.6042 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.2067, allocations: 71.78 kB / 0.6043 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2068, allocations: 0 / 0.6043 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.503e-05/0.2068, allocations: 40.02 kB / 0.6043 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.2071, allocations: 12.23 kB / 0.6044 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.2076, allocations: 350.3 kB / 0.6047 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.2079, allocations: 0.6919 MB / 0.6054 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.2079, allocations: 27.36 kB / 0.6054 GB, free: 172 kB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.208, allocations: 0 / 0.6054 GB, free: 172 kB / 0.4981 GB Notification: Performance of Templates: time 0.2973/0.5052, allocations: 1.132 MB / 0.6065 GB, free: 40.58 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)