Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001376/0.001376, allocations: 106.5 kB / 16.4 MB, free: 6.023 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.001497/0.001497, allocations: 192.5 kB / 17.34 MB, free: 5.633 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7894/0.7894, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 66.56 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1615, allocations: 76.17 MB / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002356/0.1639, allocations: 1.254 MB / 0.6333 GB, free: 3.148 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009932/0.1649, allocations: 0.6152 MB / 0.6339 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.165, allocations: 0 / 0.6339 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.165, allocations: 0 / 0.6339 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.819e-05/0.1651, allocations: 11.91 kB / 0.6339 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005028/0.1656, allocations: 141.8 kB / 0.634 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.71e-05/0.1656, allocations: 15.94 kB / 0.6341 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.1657, allocations: 7.984 kB / 0.6341 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.564e-05/0.1657, allocations: 4 kB / 0.6341 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.425e-05/0.1658, allocations: 11.92 kB / 0.6341 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1658, allocations: 4 kB / 0.6341 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004666/0.1663, allocations: 339.3 kB / 0.6344 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.1663, allocations: 7.984 kB / 0.6344 GB, free: 2 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.1663, allocations: 11.92 kB / 0.6344 GB, free: 1.988 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.1666, allocations: 147.6 kB / 0.6346 GB, free: 1.844 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1666, allocations: 0 / 0.6346 GB, free: 1.844 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1666, allocations: 0 / 0.6346 GB, free: 1.844 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1666, allocations: 0 / 0.6346 GB, free: 1.844 MB / 478.1 MB 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.0004654/0.1671, allocations: 363.4 kB / 0.6349 GB, free: 1.438 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.1671, allocations: 8.031 kB / 0.6349 GB, free: 1.43 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.1671, allocations: 8.844 kB / 0.6349 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.1673, allocations: 160.4 kB / 0.6351 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.1673, allocations: 4.375 kB / 0.6351 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.1673, allocations: 4.375 kB / 0.6351 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.1674, allocations: 46.12 kB / 0.6351 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1674, allocations: 192 / 0.6351 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1674, allocations: 3.938 kB / 0.6351 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1674, allocations: 8 kB / 0.6352 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.732e-05/0.1675, allocations: 7.984 kB / 0.6352 GB, free: 1.148 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.1677, allocations: 157.7 kB / 0.6353 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.1679, allocations: 42.56 kB / 0.6354 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.304e-05/0.1679, allocations: 16.86 kB / 0.6354 GB, free: 0.875 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.1679, allocations: 11.86 kB / 0.6354 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.168, allocations: 34.56 kB / 0.6354 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.168, allocations: 0 / 0.6354 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006079/0.1686, allocations: 318.2 kB / 0.6357 GB, free: 468 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1686, allocations: 55.41 kB / 0.6358 GB, free: 400 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.297e-05/0.1687, allocations: 97.86 kB / 0.6359 GB, free: 292 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1687, allocations: 25.7 kB / 0.6359 GB, free: 260 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.1688, allocations: 80.14 kB / 0.636 GB, free: 176 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.1688, allocations: 27.7 kB / 0.636 GB, free: 148 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.1688, allocations: 17.72 kB / 0.636 GB, free: 124 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.169, allocations: 314.8 kB / 0.6363 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.169, allocations: 12 kB / 0.6363 GB, free: 15.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.169, allocations: 12 kB / 0.6363 GB, free: 15.78 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.856e-05/0.1691, allocations: 32.78 kB / 0.6364 GB, free: 15.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1691, allocations: 0 / 0.6364 GB, free: 15.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001036/0.1692, allocations: 69.66 kB / 0.6364 GB, free: 15.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1692, allocations: 11.94 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1693, allocations: 11.98 kB / 0.6365 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1693, allocations: 0 / 0.6365 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.994e-05/0.1693, allocations: 8 kB / 0.6365 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.1693, allocations: 0 / 0.6365 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.687e-05/0.1694, allocations: 0 / 0.6365 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.1694, allocations: 4 kB / 0.6365 GB, free: 15.64 MB / 494.1 MB 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.066e-05/0.1694, allocations: 113.8 kB / 0.6366 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.1695, allocations: 7.938 kB / 0.6366 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.1696, allocations: 77.58 kB / 0.6367 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1696, allocations: 0 / 0.6367 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1696, allocations: 4 kB / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1696, allocations: 0 / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.17, allocations: 311.4 kB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.17, allocations: 0 / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.259e-05/0.17, allocations: 11.98 kB / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.17, allocations: 4 kB / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1701, allocations: 4 kB / 0.637 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1701, allocations: 7.969 kB / 0.637 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1701, allocations: 0 / 0.637 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.1703, allocations: 192.1 kB / 0.6372 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.1703, allocations: 77.11 kB / 0.6372 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.1703, allocations: 4.031 kB / 0.6372 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.1704, allocations: 192 / 0.6372 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.1704, allocations: 8.047 kB / 0.6372 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1705, allocations: 12 kB / 0.6373 GB, free: 14.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.329e-05/0.1705, allocations: 79.28 kB / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1705, allocations: 0 / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1708, allocations: 20 kB / 0.6374 GB, free: 14.6 MB / 494.1 MB 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.000176/0.1709, allocations: 127.9 kB / 0.6375 GB, free: 14.47 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.1711, allocations: 31.94 kB / 0.6375 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1711, allocations: 0 / 0.6375 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3e-05/0.1711, allocations: 23.92 kB / 0.6375 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.1713, allocations: 7.938 kB / 0.6375 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004276/0.1718, allocations: 200 kB / 0.6377 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.172, allocations: 0.6807 MB / 0.6384 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.042e-05/0.1721, allocations: 8.375 kB / 0.6384 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.1721, allocations: 11.44 kB / 0.6384 GB, free: 13.46 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1721, allocations: 0 / 0.6384 GB, free: 13.46 MB / 494.1 MB Notification: Performance of Templates: time 0.002959/0.1751, allocations: 0.6359 MB / 0.639 GB, free: 12.83 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)