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.001276/0.001276, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.00148/0.00148, allocations: 191.2 kB / 16.25 MB, free: 6.617 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.325/1.325, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.986/0.986, allocations: 143 MB / 433.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.91 kB / 0.5137 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1585, allocations: 82.03 MB / 0.5938 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002748/0.1613, allocations: 1.348 MB / 0.5951 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1624, allocations: 0.615 MB / 0.5957 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.1625, allocations: 0 / 0.5957 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.1625, allocations: 0 / 0.5957 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.1626, allocations: 7.922 kB / 0.5957 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000595/0.1632, allocations: 134 kB / 0.5958 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.651e-05/0.1632, allocations: 23.92 kB / 0.5959 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.1633, allocations: 8 kB / 0.5959 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.583e-05/0.1633, allocations: 15.92 kB / 0.5959 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.1634, allocations: 7.984 kB / 0.5959 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.1634, allocations: 7.938 kB / 0.5959 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.1639, allocations: 347.3 kB / 0.5962 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.1639, allocations: 7.938 kB / 0.5962 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.1639, allocations: 19.92 kB / 0.5963 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.1642, allocations: 147.9 kB / 0.5964 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1642, allocations: 0 / 0.5964 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1642, allocations: 0 / 0.5964 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.1642, allocations: 0 / 0.5964 GB, free: 7.285 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.000464/0.1647, allocations: 371.3 kB / 0.5967 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1648, allocations: 12.03 kB / 0.5968 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.1648, allocations: 0.9375 kB / 0.5968 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.1649, allocations: 172.4 kB / 0.5969 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1649, allocations: 4.375 kB / 0.5969 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.165, allocations: 4.375 kB / 0.5969 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.1651, allocations: 54.17 kB / 0.597 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1651, allocations: 8.188 kB / 0.597 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1651, allocations: 7.938 kB / 0.597 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1652, allocations: 0 / 0.597 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.633e-05/0.1652, allocations: 19.98 kB / 0.597 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.1654, allocations: 169.5 kB / 0.5972 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.1655, allocations: 62.48 kB / 0.5972 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.177e-05/0.1656, allocations: 24.86 kB / 0.5973 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.1656, allocations: 4 kB / 0.5973 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.1656, allocations: 38.55 kB / 0.5973 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.1656, allocations: 0 / 0.5973 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001082/0.1667, allocations: 0.5839 MB / 0.5979 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.1668, allocations: 51.41 kB / 0.5979 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.803e-05/0.1668, allocations: 97.86 kB / 0.598 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1669, allocations: 29.7 kB / 0.598 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.1669, allocations: 80.14 kB / 0.5981 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.1669, allocations: 39.39 kB / 0.5982 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.167, allocations: 29.72 kB / 0.5982 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.1671, allocations: 318.8 kB / 0.5985 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.874e-05/0.1671, allocations: 19.98 kB / 0.5985 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.653e-05/0.1672, allocations: 24.12 kB / 0.5985 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.291e-05/0.1673, allocations: 63.06 kB / 0.5986 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1673, allocations: 3.938 kB / 0.5986 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00014/0.1674, allocations: 105.5 kB / 0.5987 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1674, allocations: 4 kB / 0.5987 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1674, allocations: 0 / 0.5987 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1675, allocations: 0 / 0.5987 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.803e-05/0.1676, allocations: 23.98 kB / 0.5987 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1676, allocations: 0 / 0.5987 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.733e-05/0.1676, allocations: 4 kB / 0.5987 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.1676, allocations: 11.94 kB / 0.5987 GB, free: 4.57 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 7.38e-05/0.1677, allocations: 113.8 kB / 0.5989 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.1677, allocations: 3.938 kB / 0.5989 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.1679, allocations: 105.6 kB / 0.599 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1679, allocations: 0 / 0.599 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1679, allocations: 0 / 0.599 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1679, allocations: 3.938 kB / 0.599 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003691/0.1683, allocations: 358.5 kB / 0.5993 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1683, allocations: 0 / 0.5993 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.1684, allocations: 23.97 kB / 0.5993 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1684, allocations: 4 kB / 0.5993 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1685, allocations: 0 / 0.5993 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1685, allocations: 0 / 0.5993 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.1685, allocations: 7.938 kB / 0.5993 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.1687, allocations: 219.6 kB / 0.5995 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.1687, allocations: 85.06 kB / 0.5996 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1688, allocations: 8 kB / 0.5996 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.01e-05/0.1689, allocations: 4.031 kB / 0.5996 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.1689, allocations: 7.984 kB / 0.5996 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1689, allocations: 7.938 kB / 0.5997 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.839e-05/0.1689, allocations: 79.28 kB / 0.5997 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.169, allocations: 0 / 0.5997 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002692/0.1692, allocations: 32 kB / 0.5998 GB, free: 3.418 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.0002117/0.1694, allocations: 143.2 kB / 0.5999 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.1696, allocations: 67.91 kB / 0.6 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.1696, allocations: 4 kB / 0.6 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.1697, allocations: 35.92 kB / 0.6 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.1699, allocations: 6.391 kB / 0.6 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/0.1704, allocations: 304.9 kB / 0.6003 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.1706, allocations: 0.6878 MB / 0.601 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.267e-05/0.1707, allocations: 8 kB / 0.601 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.1707, allocations: 11.44 kB / 0.601 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1707, allocations: 0 / 0.601 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of Templates: time 0.003033/0.1737, allocations: 0.9615 MB / 0.6019 GB, free: 1.18 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)