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.0008609/0.0008613, allocations: 91.84 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.0009055/0.0009055, 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.157/1.157, allocations: 223.3 MB / 240 MB, free: 5.418 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.8671/0.8671, allocations: 143.2 MB / 434.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002572/0.0002572, allocations: 8 kB / 0.5158 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1261, allocations: 83.42 MB / 0.5972 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001044/0.1271, allocations: 0.9861 MB / 0.5982 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007866/0.1279, allocations: 0.565 MB / 0.5988 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.725e-05/0.128, allocations: 0 / 0.5988 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.128, allocations: 3.938 kB / 0.5988 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.475e-05/0.128, allocations: 7.984 kB / 0.5988 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.1284, allocations: 116.3 kB / 0.5989 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.97e-05/0.1285, allocations: 19.92 kB / 0.5989 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.409e-05/0.1285, allocations: 4 kB / 0.5989 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.012e-05/0.1285, allocations: 7.938 kB / 0.5989 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.239e-05/0.1286, allocations: 7.984 kB / 0.5989 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.1286, allocations: 0 / 0.5989 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004251/0.129, allocations: 339.3 kB / 0.5992 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.973e-06/0.129, allocations: 0 / 0.5992 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.1291, allocations: 33.64 kB / 0.5993 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.1292, allocations: 96.11 kB / 0.5994 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1292, allocations: 4 kB / 0.5994 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1292, allocations: 4 kB / 0.5994 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.1292, allocations: 0 / 0.5994 GB, free: 5.906 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.0003197/0.1296, allocations: 355.2 kB / 0.5997 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.1296, allocations: 11.97 kB / 0.5997 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.1296, allocations: 11.86 kB / 0.5997 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.531e-05/0.1297, allocations: 159.1 kB / 0.5999 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1297, allocations: 4 kB / 0.5999 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.1298, allocations: 8 kB / 0.5999 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.247e-05/0.1299, allocations: 41.69 kB / 0.5999 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.1299, allocations: 3.984 kB / 0.5999 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.1299, allocations: 4 kB / 0.6 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1299, allocations: 0 / 0.6 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.244e-05/0.1299, allocations: 11.92 kB / 0.6 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.1301, allocations: 165.6 kB / 0.6001 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.1302, allocations: 38.61 kB / 0.6002 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.1303, allocations: 20.86 kB / 0.6002 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.1303, allocations: 0 / 0.6002 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.1303, allocations: 34.64 kB / 0.6002 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.1303, allocations: 0 / 0.6002 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005076/0.1308, allocations: 306.2 kB / 0.6005 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.1309, allocations: 55.41 kB / 0.6006 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.791e-05/0.1309, allocations: 101.8 kB / 0.6007 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.1309, allocations: 29.7 kB / 0.6007 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.354e-05/0.131, allocations: 80.14 kB / 0.6008 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.131, allocations: 23.7 kB / 0.6008 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.131, allocations: 0 / 0.6008 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.1311, allocations: 314.8 kB / 0.6011 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.1311, allocations: 15.92 kB / 0.6011 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.682e-05/0.1312, allocations: 12 kB / 0.6011 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.515e-05/0.1312, allocations: 12 kB / 0.6011 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.1312, allocations: 0 / 0.6011 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.866e-05/0.1313, allocations: 69.69 kB / 0.6012 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.1313, allocations: 4 kB / 0.6012 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1313, allocations: 3.938 kB / 0.6012 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.1313, allocations: 0 / 0.6012 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.844e-05/0.1314, allocations: 15.98 kB / 0.6012 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.1314, allocations: 3.938 kB / 0.6012 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.484e-05/0.1314, allocations: 0 / 0.6012 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.1314, allocations: 0 / 0.6012 GB, free: 3.766 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.51e-05/0.1315, allocations: 117.8 kB / 0.6013 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.1315, allocations: 7.906 kB / 0.6013 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.1316, allocations: 77.58 kB / 0.6014 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1316, allocations: 0 / 0.6014 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1316, allocations: 0 / 0.6014 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1316, allocations: 0 / 0.6014 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.1319, allocations: 311.4 kB / 0.6017 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1319, allocations: 0 / 0.6017 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.132, allocations: 24.44 kB / 0.6017 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.132, allocations: 4.031 kB / 0.6017 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.132, allocations: 192 / 0.6017 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.132, allocations: 8 kB / 0.6017 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.132, allocations: 0 / 0.6017 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.1322, allocations: 176.5 kB / 0.6019 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.1322, allocations: 85.12 kB / 0.602 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.1322, allocations: 3.984 kB / 0.602 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/0.1323, allocations: 4.062 kB / 0.602 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.1323, allocations: 15.92 kB / 0.602 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1323, allocations: 0 / 0.602 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.42e-05/0.1324, allocations: 83.23 kB / 0.6021 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1324, allocations: 3.938 kB / 0.6021 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002157/0.1326, allocations: 23.94 kB / 0.6021 GB, free: 2.723 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 (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.0001374/0.1327, allocations: 119.2 kB / 0.6022 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.317e-05/0.1328, allocations: 35.97 kB / 0.6023 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1328, allocations: 4 kB / 0.6023 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.453e-05/0.1329, allocations: 19.92 kB / 0.6023 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.1331, allocations: 5.422 kB / 0.6023 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.1334, allocations: 221.9 kB / 0.6025 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.1336, allocations: 0.6809 MB / 0.6032 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.599e-05/0.1336, allocations: 8 kB / 0.6032 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.338e-05/0.1336, allocations: 7.438 kB / 0.6032 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1336, allocations: 4 kB / 0.6032 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of Templates: time 0.002236/0.1359, allocations: 0.6075 MB / 0.6038 GB, free: 0.9922 MB / 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)