Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009704/0.0009704, allocations: 100.1 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.001179/0.001179, allocations: 177.3 kB / 15.95 MB, free: 216 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.302/1.302, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9815/0.9815, allocations: 143.3 MB / 434.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 16 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1606, allocations: 83.41 MB / 0.5973 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001261/0.1619, allocations: 0.9784 MB / 0.5983 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006125/0.1625, allocations: 343.1 kB / 0.5986 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.1626, allocations: 0 / 0.5986 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.1626, allocations: 3.984 kB / 0.5986 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.162e-05/0.1627, allocations: 11.98 kB / 0.5986 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.1631, allocations: 63.78 kB / 0.5987 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.216e-05/0.1631, allocations: 19.91 kB / 0.5987 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.1632, allocations: 4 kB / 0.5987 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.603e-05/0.1632, allocations: 11.94 kB / 0.5987 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.479e-05/0.1633, allocations: 11.97 kB / 0.5987 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.1633, allocations: 0 / 0.5987 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.1636, allocations: 179.7 kB / 0.5989 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.296e-06/0.1636, allocations: 0 / 0.5989 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.1636, allocations: 33.7 kB / 0.5989 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.1638, allocations: 52.16 kB / 0.599 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1638, allocations: 0 / 0.599 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1638, allocations: 0 / 0.599 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.1638, allocations: 0 / 0.599 GB, free: 6.109 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.0003439/0.1641, allocations: 347.3 kB / 0.5993 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1642, allocations: 12.03 kB / 0.5993 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.1642, allocations: 7.859 kB / 0.5993 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1643, allocations: 159.1 kB / 0.5995 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1644, allocations: 4 kB / 0.5995 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.1644, allocations: 0 / 0.5995 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.1645, allocations: 45.62 kB / 0.5995 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1645, allocations: 0 / 0.5995 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1645, allocations: 4 kB / 0.5995 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1645, allocations: 0 / 0.5995 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.083e-05/0.1646, allocations: 15.98 kB / 0.5995 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.1647, allocations: 157.7 kB / 0.5997 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.1649, allocations: 46.5 kB / 0.5997 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.165, allocations: 0 / 0.5997 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.165, allocations: 38.56 kB / 0.5998 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.165, allocations: 0 / 0.5998 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006104/0.1656, allocations: 302.7 kB / 0.6 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.1657, allocations: 51.41 kB / 0.6001 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.42e-05/0.1657, allocations: 101.8 kB / 0.6002 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.1658, allocations: 29.7 kB / 0.6002 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.1658, allocations: 80.14 kB / 0.6003 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.1658, allocations: 27.58 kB / 0.6003 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.1658, allocations: 8 kB / 0.6003 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.933e-05/0.1659, allocations: 318.8 kB / 0.6006 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.316e-05/0.166, allocations: 12 kB / 0.6006 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/0.166, allocations: 12 kB / 0.6007 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.816e-05/0.166, allocations: 8 kB / 0.6007 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.166, allocations: 0 / 0.6007 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.528e-05/0.1661, allocations: 61.69 kB / 0.6007 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1662, allocations: 4 kB / 0.6007 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1662, allocations: 4 kB / 0.6007 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1662, allocations: 4 kB / 0.6007 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.574e-05/0.1662, allocations: 11.98 kB / 0.6007 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1663, allocations: 4 kB / 0.6007 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/0.1663, allocations: 8 kB / 0.6008 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1663, allocations: 4 kB / 0.6008 GB, free: 4 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 7e-05/0.1664, allocations: 109.8 kB / 0.6009 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.1664, allocations: 11.91 kB / 0.6009 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.1666, allocations: 73.58 kB / 0.6009 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1666, allocations: 4 kB / 0.6009 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1666, allocations: 0 / 0.6009 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1666, allocations: 0 / 0.6009 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.1669, allocations: 323.3 kB / 0.6013 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1669, allocations: 0 / 0.6013 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.468e-05/0.167, allocations: 11.98 kB / 0.6013 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.167, allocations: 0 / 0.6013 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.167, allocations: 4 kB / 0.6013 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.167, allocations: 3.938 kB / 0.6013 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.167, allocations: 0 / 0.6013 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.1672, allocations: 194.2 kB / 0.6015 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.1673, allocations: 85.12 kB / 0.6015 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.1673, allocations: 0 / 0.6015 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.1674, allocations: 4 kB / 0.6015 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.1674, allocations: 7.938 kB / 0.6016 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.1674, allocations: 12.06 kB / 0.6016 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.163e-05/0.1674, allocations: 75.28 kB / 0.6016 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1674, allocations: 4 kB / 0.6016 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002485/0.1677, allocations: 19.94 kB / 0.6017 GB, free: 2.953 MB / 0.4981 GB 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 (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.0001722/0.1679, allocations: 131.2 kB / 0.6018 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.584e-05/0.168, allocations: 28.17 kB / 0.6018 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.168, allocations: 0 / 0.6018 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.292e-05/0.168, allocations: 27.92 kB / 0.6018 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.1682, allocations: 8 kB / 0.6018 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.1686, allocations: 206 kB / 0.602 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.1688, allocations: 0.6887 MB / 0.6027 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.315e-05/0.1689, allocations: 11.88 kB / 0.6027 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.899e-05/0.1689, allocations: 11.44 kB / 0.6027 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1689, allocations: 0 / 0.6027 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of Templates: time 0.002743/0.1716, allocations: 0.6111 MB / 0.6033 GB, free: 1.207 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) Environment - environmentSimulation: