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.000836/0.000836, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008965/0.0008965, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 223.3 MB / 240 MB, free: 5.434 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.8742/0.8742, allocations: 143.2 MB / 434.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002591/0.0002591, allocations: 8 kB / 0.5158 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1281, allocations: 83.41 MB / 0.5972 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001067/0.1292, allocations: 0.99 MB / 0.5982 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008007/0.13, allocations: 0.5883 MB / 0.5988 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.678e-05/0.1301, allocations: 0 / 0.5988 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.1301, allocations: 0 / 0.5988 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.968e-05/0.1301, allocations: 0 / 0.5988 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.1305, allocations: 125.3 kB / 0.5989 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.262e-05/0.1306, allocations: 27.91 kB / 0.5989 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.283e-05/0.1306, allocations: 4 kB / 0.5989 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.679e-05/0.1306, allocations: 8 kB / 0.5989 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.687e-05/0.1307, allocations: 19.92 kB / 0.599 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.267e-06/0.1307, allocations: 0 / 0.599 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000408/0.1311, allocations: 335.3 kB / 0.5993 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.788e-06/0.1311, allocations: 8 kB / 0.5993 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/0.1311, allocations: 25.7 kB / 0.5993 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.1313, allocations: 104.1 kB / 0.5994 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1313, allocations: 0 / 0.5994 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.255e-06/0.1313, allocations: 0 / 0.5994 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.1313, allocations: 7.938 kB / 0.5994 GB, free: 5.859 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.0003239/0.1317, allocations: 363.2 kB / 0.5998 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.1317, allocations: 8.031 kB / 0.5998 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.1317, allocations: 15.86 kB / 0.5998 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.128e-05/0.1318, allocations: 163.1 kB / 0.5999 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1318, allocations: 0 / 0.5999 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.1319, allocations: 7.984 kB / 0.6 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.896e-05/0.132, allocations: 49.69 kB / 0.6 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.132, allocations: 0 / 0.6 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.132, allocations: 4 kB / 0.6 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.132, allocations: 0 / 0.6 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.378e-05/0.1321, allocations: 23.92 kB / 0.6 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.1322, allocations: 173.5 kB / 0.6002 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.145e-05/0.1323, allocations: 54.56 kB / 0.6002 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.1323, allocations: 28.84 kB / 0.6003 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.1324, allocations: 4 kB / 0.6003 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.1324, allocations: 34.56 kB / 0.6003 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.1324, allocations: 0 / 0.6003 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0009238/0.1333, allocations: 0.5878 MB / 0.6009 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.1334, allocations: 55.34 kB / 0.6009 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.119e-05/0.1334, allocations: 109.8 kB / 0.601 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.1334, allocations: 25.7 kB / 0.6011 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.368e-05/0.1335, allocations: 80.14 kB / 0.6011 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.1335, allocations: 43.39 kB / 0.6012 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.1335, allocations: 4 kB / 0.6012 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.491e-05/0.1336, allocations: 314.8 kB / 0.6015 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-05/0.1336, allocations: 19.98 kB / 0.6015 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.089e-05/0.1337, allocations: 19.98 kB / 0.6015 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.207e-05/0.1337, allocations: 33.88 kB / 0.6016 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.1337, allocations: 4 kB / 0.6016 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001273/0.1339, allocations: 89.69 kB / 0.6017 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.1339, allocations: 4 kB / 0.6017 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1339, allocations: 0 / 0.6017 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.1339, allocations: 0 / 0.6017 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.065e-05/0.134, allocations: 27.92 kB / 0.6017 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.134, allocations: 0 / 0.6017 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.134, allocations: 3.953 kB / 0.6017 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.134, allocations: 4 kB / 0.6017 GB, free: 3.238 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.061e-05/0.1341, allocations: 117.8 kB / 0.6018 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.1341, allocations: 11.89 kB / 0.6018 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.1343, allocations: 113.4 kB / 0.6019 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1343, allocations: 0 / 0.6019 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1343, allocations: 0 / 0.6019 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1343, allocations: 0 / 0.6019 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.1346, allocations: 354.5 kB / 0.6023 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1347, allocations: 4 kB / 0.6023 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.24e-05/0.1348, allocations: 27.92 kB / 0.6023 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1348, allocations: 0 / 0.6023 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1348, allocations: 4 kB / 0.6023 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1348, allocations: 0 / 0.6023 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1348, allocations: 3.953 kB / 0.6023 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.135, allocations: 215.6 kB / 0.6025 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.135, allocations: 89.03 kB / 0.6026 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.135, allocations: 4.062 kB / 0.6026 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/0.1351, allocations: 8 kB / 0.6026 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.1352, allocations: 7.984 kB / 0.6026 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.1352, allocations: 7.953 kB / 0.6026 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.189e-05/0.1352, allocations: 79.22 kB / 0.6027 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1352, allocations: 0 / 0.6027 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002298/0.1354, allocations: 40 kB / 0.6027 GB, free: 2.062 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001524/0.1356, allocations: 131.2 kB / 0.6029 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.1357, allocations: 62.33 kB / 0.6029 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1357, allocations: 0 / 0.6029 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.229e-05/0.1358, allocations: 35.92 kB / 0.6029 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.136, allocations: 6.625 kB / 0.603 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.1364, allocations: 332.6 kB / 0.6033 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.1366, allocations: 0.6919 MB / 0.6039 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.247e-05/0.1367, allocations: 11.94 kB / 0.604 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.1367, allocations: 11.44 kB / 0.604 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1367, allocations: 0 / 0.604 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of Templates: time 0.2086/0.3453, allocations: 0.8949 MB / 0.6048 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)