Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001071/0.001071, allocations: 99.28 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 187.5 kB / 16.92 MB, free: 6.75 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.452/1.452, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7122/0.7122, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002957, allocations: 10 kB / 495.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1665, allocations: 77.54 MB / 0.56 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001495/0.1681, allocations: 1 MB / 0.5609 GB, free: 7.992 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1692, allocations: 0.6152 MB / 0.5615 GB, free: 7.375 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.1693, allocations: 7.938 kB / 0.5616 GB, free: 7.367 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.202e-05/0.1693, allocations: 7.922 kB / 0.5616 GB, free: 7.359 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.424e-05/0.1694, allocations: 0 / 0.5616 GB, free: 7.359 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007143/0.1701, allocations: 127.6 kB / 0.5617 GB, free: 7.234 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.327e-05/0.1702, allocations: 27.86 kB / 0.5617 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.484e-05/0.1702, allocations: 8 kB / 0.5617 GB, free: 7.199 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.627e-05/0.1703, allocations: 4 kB / 0.5617 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.1703, allocations: 15.92 kB / 0.5617 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.1704, allocations: 4 kB / 0.5617 GB, free: 7.176 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005627/0.1709, allocations: 343.3 kB / 0.5621 GB, free: 6.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.171, allocations: 11.94 kB / 0.5621 GB, free: 6.828 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.171, allocations: 41.61 kB / 0.5621 GB, free: 6.781 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.1713, allocations: 140 kB / 0.5623 GB, free: 6.645 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.1713, allocations: 7.922 kB / 0.5623 GB, free: 6.637 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1713, allocations: 0 / 0.5623 GB, free: 6.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1713, allocations: 0 / 0.5623 GB, free: 6.637 MB / 430.1 MB 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.0004316/0.1718, allocations: 359.5 kB / 0.5626 GB, free: 6.234 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.1718, allocations: 8.031 kB / 0.5626 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.1719, allocations: 12.78 kB / 0.5626 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.172, allocations: 164.4 kB / 0.5628 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.172, allocations: 8.375 kB / 0.5628 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.1721, allocations: 4.312 kB / 0.5628 GB, free: 6.004 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.1722, allocations: 50.25 kB / 0.5628 GB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1722, allocations: 192 / 0.5628 GB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1722, allocations: 7.938 kB / 0.5628 GB, free: 5.941 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.1722, allocations: 4 kB / 0.5628 GB, free: 5.938 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.17e-05/0.1723, allocations: 15.98 kB / 0.5629 GB, free: 5.922 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002267/0.1725, allocations: 169.6 kB / 0.563 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.1727, allocations: 74.47 kB / 0.5631 GB, free: 5.625 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.1727, allocations: 24.86 kB / 0.5631 GB, free: 5.598 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1727, allocations: 0 / 0.5631 GB, free: 5.598 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1728, allocations: 42.55 kB / 0.5632 GB, free: 5.547 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.1728, allocations: 0 / 0.5632 GB, free: 5.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001248/0.174, allocations: 0.5838 MB / 0.5637 GB, free: 4.875 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.1741, allocations: 59.39 kB / 0.5638 GB, free: 4.805 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.78e-05/0.1742, allocations: 93.86 kB / 0.5639 GB, free: 4.703 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1742, allocations: 33.64 kB / 0.5639 GB, free: 4.664 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.1742, allocations: 80.14 kB / 0.564 GB, free: 4.582 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.1743, allocations: 39.39 kB / 0.564 GB, free: 4.543 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.1743, allocations: 17.72 kB / 0.564 GB, free: 4.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1744, allocations: 322.8 kB / 0.5643 GB, free: 4.195 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.1745, allocations: 16 kB / 0.5644 GB, free: 4.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.843e-05/0.1745, allocations: 28.11 kB / 0.5644 GB, free: 4.152 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.447e-05/0.1746, allocations: 60.34 kB / 0.5644 GB, free: 4.094 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.1746, allocations: 0 / 0.5644 GB, free: 4.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001576/0.1748, allocations: 93.62 kB / 0.5645 GB, free: 3.996 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1748, allocations: 13.5 kB / 0.5646 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1748, allocations: 0 / 0.5646 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1749, allocations: 0 / 0.5646 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.175, allocations: 23.92 kB / 0.5646 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.175, allocations: 4 kB / 0.5646 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.175, allocations: 4 kB / 0.5646 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.175, allocations: 8 kB / 0.5646 GB, free: 3.945 MB / 430.1 MB 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 9.481e-05/0.1751, allocations: 109.8 kB / 0.5647 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.1752, allocations: 11.84 kB / 0.5647 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.1754, allocations: 105.6 kB / 0.5648 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1754, allocations: 4.094 kB / 0.5648 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1754, allocations: 3.938 kB / 0.5648 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1754, allocations: 0 / 0.5648 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.1758, allocations: 354.5 kB / 0.5652 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1758, allocations: 8 kB / 0.5652 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.1759, allocations: 23.92 kB / 0.5652 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.176, allocations: 0 / 0.5652 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.176, allocations: 0 / 0.5652 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.176, allocations: 4 kB / 0.5652 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.176, allocations: 0 / 0.5652 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.1762, allocations: 215.3 kB / 0.5654 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.1763, allocations: 85.2 kB / 0.5655 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.1763, allocations: 7.984 kB / 0.5655 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.1764, allocations: 0 / 0.5655 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.1765, allocations: 7.938 kB / 0.5655 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.1765, allocations: 8 kB / 0.5655 GB, free: 2.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.518e-05/0.1765, allocations: 83.27 kB / 0.5656 GB, free: 2.828 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1765, allocations: 0 / 0.5656 GB, free: 2.828 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1768, allocations: 32 kB / 0.5656 GB, free: 2.797 MB / 430.1 MB 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.0002334/0.177, allocations: 135.2 kB / 0.5657 GB, free: 2.656 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.1772, allocations: 67.86 kB / 0.5658 GB, free: 2.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1772, allocations: 3.938 kB / 0.5658 GB, free: 2.586 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.942e-05/0.1773, allocations: 27.98 kB / 0.5658 GB, free: 2.559 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.1775, allocations: 8 kB / 0.5658 GB, free: 2.551 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.1781, allocations: 347.7 kB / 0.5662 GB, free: 2.184 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.1784, allocations: 0.6848 MB / 0.5668 GB, free: 1.473 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.568e-05/0.1784, allocations: 11.98 kB / 0.5668 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.1785, allocations: 11.44 kB / 0.5669 GB, free: 1.449 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1785, allocations: 0 / 0.5669 GB, free: 1.449 MB / 430.1 MB Notification: Performance of Templates: time 0.003477/0.182, allocations: 0.9122 MB / 0.5678 GB, free: 0.5742 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)