Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001076/0.001076, allocations: 177.3 kB / 15.94 MB, free: 228 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.324/1.324, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9843/0.9843, allocations: 143.3 MB / 434.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002923, allocations: 8 kB / 0.5158 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1539, allocations: 83.41 MB / 0.5973 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001554/0.1554, allocations: 1.166 MB / 0.5984 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006035/0.1561, allocations: 347.1 kB / 0.5988 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.1561, allocations: 0 / 0.5988 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.1561, allocations: 0 / 0.5988 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.154e-05/0.1562, allocations: 7.984 kB / 0.5988 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.1565, allocations: 71.77 kB / 0.5988 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.288e-05/0.1566, allocations: 43.89 kB / 0.5989 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.1566, allocations: 3.984 kB / 0.5989 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.529e-05/0.1567, allocations: 23.88 kB / 0.5989 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.1568, allocations: 31.89 kB / 0.5989 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.1568, allocations: 0 / 0.5989 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002784/0.1571, allocations: 183.7 kB / 0.5991 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.1571, allocations: 8 kB / 0.5991 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.1571, allocations: 33.64 kB / 0.5991 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.1573, allocations: 76.11 kB / 0.5992 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.1573, allocations: 0 / 0.5992 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1573, allocations: 0 / 0.5992 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.1573, allocations: 4 kB / 0.5992 GB, free: 5.797 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005868/0.1579, allocations: 375.1 kB / 0.5996 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1579, allocations: 8.031 kB / 0.5996 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.158, allocations: 15.86 kB / 0.5996 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.1582, allocations: 163.1 kB / 0.5998 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.1582, allocations: 4 kB / 0.5998 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.1582, allocations: 12 kB / 0.5998 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.1585, allocations: 89.58 kB / 0.5999 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1585, allocations: 0 / 0.5999 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1585, allocations: 0 / 0.5999 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1585, allocations: 0 / 0.5999 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.1587, allocations: 63.33 kB / 0.5999 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.1593, allocations: 336.6 kB / 0.6002 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.1596, allocations: 86.53 kB / 0.6003 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.1596, allocations: 0 / 0.6003 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.1597, allocations: 30.56 kB / 0.6004 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1597, allocations: 0 / 0.6004 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001726/0.1614, allocations: 0.681 MB / 0.601 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.1614, allocations: 51.41 kB / 0.6011 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.222e-05/0.1615, allocations: 101.8 kB / 0.6012 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1616, allocations: 29.7 kB / 0.6012 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.1616, allocations: 95.98 kB / 0.6013 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.1617, allocations: 35.45 kB / 0.6013 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.1617, allocations: 0 / 0.6013 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1618, allocations: 318.8 kB / 0.6016 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.1619, allocations: 35.97 kB / 0.6017 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1621, allocations: 35.98 kB / 0.6017 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.1622, allocations: 35.98 kB / 0.6017 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1622, allocations: 0 / 0.6017 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003214/0.1625, allocations: 129.9 kB / 0.6018 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1626, allocations: 11.94 kB / 0.6019 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1626, allocations: 3.984 kB / 0.6019 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1626, allocations: 0 / 0.6019 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.1628, allocations: 35.91 kB / 0.6019 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1628, allocations: 4 kB / 0.6019 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.764e-05/0.1628, allocations: 4 kB / 0.6019 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1629, allocations: 4 kB / 0.6019 GB, free: 2.746 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 9.223e-05/0.163, allocations: 129.8 kB / 0.602 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.163, allocations: 3.953 kB / 0.602 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/0.1634, allocations: 129.5 kB / 0.6022 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1635, allocations: 4 kB / 0.6022 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1635, allocations: 0 / 0.6022 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1635, allocations: 7.984 kB / 0.6022 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006456/0.1641, allocations: 390.3 kB / 0.6025 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1641, allocations: 4 kB / 0.6025 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.1643, allocations: 27.92 kB / 0.6026 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.1643, allocations: 4 kB / 0.6026 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.1643, allocations: 11.98 kB / 0.6026 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1643, allocations: 0 / 0.6026 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1643, allocations: 0 / 0.6026 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.1649, allocations: 259.7 kB / 0.6028 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.165, allocations: 84.97 kB / 0.6029 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.165, allocations: 8 kB / 0.6029 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.1651, allocations: 12.02 kB / 0.6029 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.963e-05/0.1652, allocations: 4 kB / 0.6029 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.1652, allocations: 8 kB / 0.6029 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.1652, allocations: 79.27 kB / 0.603 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1652, allocations: 8 kB / 0.603 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002882/0.1655, allocations: 39.94 kB / 0.6031 GB, free: 1.445 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0002153/0.1657, allocations: 143.1 kB / 0.6032 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003181/0.1661, allocations: 83.95 kB / 0.6033 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1661, allocations: 0 / 0.6033 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.1662, allocations: 55.91 kB / 0.6033 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.1665, allocations: 11.94 kB / 0.6033 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006246/0.1671, allocations: 361 kB / 0.6037 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.1673, allocations: 0.6965 MB / 0.6044 GB, free: 44 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.815e-05/0.1674, allocations: 12.67 kB / 0.6044 GB, free: 32 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.1674, allocations: 19.44 kB / 0.6044 GB, free: 12 kB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1674, allocations: 0 / 0.6044 GB, free: 12 kB / 0.4981 GB Notification: Performance of Templates: time 0.2304/0.3979, allocations: 1.068 MB / 0.6054 GB, free: 40.45 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: