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.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_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.0009184/0.0009184, allocations: 99.55 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.0009614/0.0009615, 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.317/1.317, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9854/0.9854, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003138, allocations: 11.98 kB / 0.5158 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.154, allocations: 83.41 MB / 0.5973 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001208/0.1552, allocations: 0.9823 MB / 0.5982 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005703/0.1558, allocations: 327.1 kB / 0.5986 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.1559, allocations: 0 / 0.5986 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.1559, allocations: 3.938 kB / 0.5986 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.321e-05/0.1559, allocations: 7.922 kB / 0.5986 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.1563, allocations: 63.8 kB / 0.5986 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.885e-05/0.1563, allocations: 23.95 kB / 0.5986 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.1564, allocations: 0 / 0.5986 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.973e-05/0.1564, allocations: 4 kB / 0.5987 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.853e-05/0.1565, allocations: 15.92 kB / 0.5987 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.1565, allocations: 0 / 0.5987 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.1568, allocations: 183.6 kB / 0.5988 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.744e-06/0.1568, allocations: 0 / 0.5988 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.1568, allocations: 29.7 kB / 0.5989 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.1569, allocations: 60.16 kB / 0.5989 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.1569, allocations: 0 / 0.5989 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1569, allocations: 0 / 0.5989 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.1569, allocations: 0 / 0.5989 GB, free: 6.223 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.0003579/0.1573, allocations: 331.4 kB / 0.5992 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1573, allocations: 12.03 kB / 0.5993 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.1574, allocations: 7.859 kB / 0.5993 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1575, allocations: 163.1 kB / 0.5994 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1575, allocations: 4 kB / 0.5994 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.1576, allocations: 4 kB / 0.5994 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.1577, allocations: 49.62 kB / 0.5995 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1577, allocations: 0 / 0.5995 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1577, allocations: 0 / 0.5995 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1577, allocations: 0 / 0.5995 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.719e-05/0.1577, allocations: 11.98 kB / 0.5995 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.1579, allocations: 161.6 kB / 0.5996 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.1581, allocations: 38.61 kB / 0.5997 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.1581, allocations: 4 kB / 0.5997 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.1582, allocations: 38.5 kB / 0.5997 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1582, allocations: 0 / 0.5997 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006198/0.1588, allocations: 310.2 kB / 0.6 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.1588, allocations: 51.41 kB / 0.6001 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.1589, allocations: 98.19 kB / 0.6002 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1589, allocations: 29.7 kB / 0.6002 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/0.159, allocations: 88.06 kB / 0.6003 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.159, allocations: 23.7 kB / 0.6003 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.159, allocations: 0 / 0.6003 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1591, allocations: 318.8 kB / 0.6006 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.311e-05/0.1592, allocations: 8 kB / 0.6006 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.1592, allocations: 15.98 kB / 0.6006 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.708e-05/0.1592, allocations: 8 kB / 0.6006 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1592, allocations: 4 kB / 0.6006 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.439e-05/0.1593, allocations: 69.62 kB / 0.6007 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1593, allocations: 4 kB / 0.6007 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1594, allocations: 4 kB / 0.6007 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1594, allocations: 192 / 0.6007 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.236e-05/0.1594, allocations: 8 kB / 0.6007 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1594, allocations: 0 / 0.6007 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.803e-05/0.1595, allocations: 0 / 0.6007 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.1595, allocations: 4 kB / 0.6007 GB, free: 4.133 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 7.357e-05/0.1596, allocations: 117.8 kB / 0.6008 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.1596, allocations: 15.89 kB / 0.6008 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.1597, allocations: 69.59 kB / 0.6009 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1597, allocations: 0 / 0.6009 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1597, allocations: 0 / 0.6009 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1597, allocations: 7.938 kB / 0.6009 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.1601, allocations: 319.3 kB / 0.6012 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.1601, allocations: 0 / 0.6012 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.295e-05/0.1602, allocations: 8 kB / 0.6012 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1602, allocations: 0 / 0.6012 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1602, allocations: 12.03 kB / 0.6012 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1602, allocations: 192 / 0.6012 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1602, allocations: 4 kB / 0.6012 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.1604, allocations: 193.9 kB / 0.6014 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.1605, allocations: 85.12 kB / 0.6015 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1605, allocations: 0 / 0.6015 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.1606, allocations: 8.062 kB / 0.6015 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.1606, allocations: 7.953 kB / 0.6015 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.1606, allocations: 4 kB / 0.6015 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.022e-05/0.1607, allocations: 83.27 kB / 0.6016 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1607, allocations: 3.938 kB / 0.6016 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002512/0.1609, allocations: 23.94 kB / 0.6016 GB, free: 3.066 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 (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.0001788/0.1611, allocations: 119.2 kB / 0.6017 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.1612, allocations: 39.92 kB / 0.6018 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1612, allocations: 0 / 0.6018 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/0.1613, allocations: 16 kB / 0.6018 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.1614, allocations: 0 / 0.6018 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.1618, allocations: 217.9 kB / 0.602 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.1621, allocations: 0.6887 MB / 0.6027 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.267e-05/0.1621, allocations: 4 kB / 0.6027 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.1622, allocations: 11.44 kB / 0.6027 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.1622, allocations: 4 kB / 0.6027 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.002695/0.1649, allocations: 0.6327 MB / 0.6033 GB, free: 1.316 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: