Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008235/0.008235, allocations: 100.2 kB / 15.87 MB, free: 5.867 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.001677/0.001677, allocations: 190.4 kB / 16.79 MB, free: 5.809 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.353/1.353, allocations: 222.9 MB / 240.5 MB, free: 4.438 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.9435/0.9435, allocations: 143 MB / 433.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 59.91 kB / 0.5142 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1673, allocations: 82.04 MB / 0.5943 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002417/0.1697, allocations: 1.333 MB / 0.5956 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1708, allocations: 0.6346 MB / 0.5962 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.514e-05/0.1708, allocations: 0 / 0.5962 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.1708, allocations: 0 / 0.5962 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.564e-05/0.1709, allocations: 3.938 kB / 0.5962 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.1713, allocations: 123.6 kB / 0.5963 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.748e-05/0.1714, allocations: 23.92 kB / 0.5963 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.1715, allocations: 7.938 kB / 0.5963 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.597e-05/0.1715, allocations: 7.938 kB / 0.5964 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.1715, allocations: 4 kB / 0.5964 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.1716, allocations: 0 / 0.5964 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004929/0.1721, allocations: 347.3 kB / 0.5967 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.1721, allocations: 8 kB / 0.5967 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.1721, allocations: 7.938 kB / 0.5967 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1723, allocations: 100.1 kB / 0.5968 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1723, allocations: 3.938 kB / 0.5968 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1723, allocations: 0 / 0.5968 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.1723, allocations: 4 kB / 0.5968 GB, free: 7.379 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.0004497/0.1728, allocations: 359.4 kB / 0.5972 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1728, allocations: 12.03 kB / 0.5972 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.1729, allocations: 0.9375 kB / 0.5972 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.173, allocations: 168.3 kB / 0.5973 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.173, allocations: 4.375 kB / 0.5973 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.1731, allocations: 384 / 0.5973 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.1732, allocations: 42.25 kB / 0.5974 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1732, allocations: 8.172 kB / 0.5974 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1732, allocations: 3.938 kB / 0.5974 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1732, allocations: 0 / 0.5974 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.111e-05/0.1733, allocations: 12 kB / 0.5974 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.1734, allocations: 153.7 kB / 0.5975 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.1736, allocations: 46.55 kB / 0.5976 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.1737, allocations: 20.94 kB / 0.5976 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.1737, allocations: 4 kB / 0.5976 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.1737, allocations: 38.56 kB / 0.5976 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1737, allocations: 0 / 0.5976 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006259/0.1743, allocations: 318 kB / 0.5979 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.1744, allocations: 55.41 kB / 0.598 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.336e-05/0.1745, allocations: 97.84 kB / 0.5981 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1745, allocations: 25.7 kB / 0.5981 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.1745, allocations: 88.14 kB / 0.5982 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.1746, allocations: 11.81 kB / 0.5982 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.1746, allocations: 21.7 kB / 0.5982 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.1747, allocations: 318.8 kB / 0.5985 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.85e-05/0.1748, allocations: 7.938 kB / 0.5985 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.472e-05/0.1748, allocations: 15.98 kB / 0.5986 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.748e-05/0.1748, allocations: 36.8 kB / 0.5986 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1748, allocations: 0 / 0.5986 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.918e-05/0.175, allocations: 69.59 kB / 0.5987 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.175, allocations: 7.938 kB / 0.5987 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.175, allocations: 0 / 0.5987 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.175, allocations: 0 / 0.5987 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.473e-05/0.1751, allocations: 15.94 kB / 0.5987 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1751, allocations: 3.984 kB / 0.5987 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.047e-05/0.1751, allocations: 4 kB / 0.5987 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1751, allocations: 0 / 0.5987 GB, free: 5.176 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.339e-05/0.1752, allocations: 109.8 kB / 0.5988 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.1752, allocations: 7.938 kB / 0.5988 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.1754, allocations: 73.66 kB / 0.5989 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1754, allocations: 0 / 0.5989 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1754, allocations: 3.984 kB / 0.5989 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1754, allocations: 0 / 0.5989 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.1757, allocations: 315.3 kB / 0.5992 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1757, allocations: 0.5156 kB / 0.5992 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.1758, allocations: 15.94 kB / 0.5992 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1758, allocations: 0 / 0.5992 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.1758, allocations: 7.969 kB / 0.5992 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1758, allocations: 8.172 kB / 0.5992 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1758, allocations: 0 / 0.5992 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.176, allocations: 180.2 kB / 0.5994 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.1761, allocations: 89.11 kB / 0.5995 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.1761, allocations: 4 kB / 0.5995 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.1762, allocations: 4.062 kB / 0.5995 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.1762, allocations: 4 kB / 0.5995 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-06/0.1762, allocations: 4 kB / 0.5995 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.1763, allocations: 79.27 kB / 0.5996 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1763, allocations: 0 / 0.5996 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002389/0.1765, allocations: 27.94 kB / 0.5996 GB, free: 4.145 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0001807/0.1767, allocations: 115.2 kB / 0.5997 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.1768, allocations: 31.98 kB / 0.5997 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1768, allocations: 11.94 kB / 0.5997 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.59e-05/0.1769, allocations: 15.94 kB / 0.5998 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.1771, allocations: 11.92 kB / 0.5998 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.1775, allocations: 223.6 kB / 0.6 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.1778, allocations: 0.6848 MB / 0.6006 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.1778, allocations: 11.44 kB / 0.6007 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1778, allocations: 3.938 kB / 0.6007 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of Templates: time 0.002185/0.18, allocations: 0.8089 MB / 0.6015 GB, free: 2.168 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)