Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.0009815/0.0009815, allocations: 98.81 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.00124/0.00124, allocations: 184 kB / 16.92 MB, free: 6.754 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.439/1.439, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7066/0.7066, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 12 kB / 495.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1548, allocations: 77.54 MB / 0.56 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001432/0.1563, allocations: 0.9964 MB / 0.5609 GB, free: 7.969 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1574, allocations: 0.6074 MB / 0.5615 GB, free: 7.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.573e-05/0.1574, allocations: 3.938 kB / 0.5615 GB, free: 7.355 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.1574, allocations: 3.984 kB / 0.5615 GB, free: 7.352 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.339e-05/0.1575, allocations: 11.86 kB / 0.5616 GB, free: 7.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.158, allocations: 115.6 kB / 0.5617 GB, free: 7.227 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.74e-05/0.158, allocations: 23.92 kB / 0.5617 GB, free: 7.203 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.1581, allocations: 4 kB / 0.5617 GB, free: 7.199 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.526e-05/0.1581, allocations: 7.984 kB / 0.5617 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.1582, allocations: 15.92 kB / 0.5617 GB, free: 7.176 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.1582, allocations: 0 / 0.5617 GB, free: 7.176 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004859/0.1587, allocations: 347.3 kB / 0.5621 GB, free: 6.836 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.458e-06/0.1587, allocations: 0 / 0.5621 GB, free: 6.836 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.45e-05/0.1587, allocations: 37.64 kB / 0.5621 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.159, allocations: 147.9 kB / 0.5622 GB, free: 6.648 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.159, allocations: 0 / 0.5622 GB, free: 6.648 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.159, allocations: 0 / 0.5622 GB, free: 6.648 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.159, allocations: 0 / 0.5622 GB, free: 6.648 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003399/0.1593, allocations: 355.5 kB / 0.5626 GB, free: 6.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1594, allocations: 8.031 kB / 0.5626 GB, free: 6.242 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.1594, allocations: 4.844 kB / 0.5626 GB, free: 6.238 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1595, allocations: 172.4 kB / 0.5627 GB, free: 6.031 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1595, allocations: 384 / 0.5627 GB, free: 6.031 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1596, allocations: 4.312 kB / 0.5627 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.233e-05/0.1597, allocations: 42.25 kB / 0.5628 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.1597, allocations: 192 / 0.5628 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1597, allocations: 3.938 kB / 0.5628 GB, free: 5.977 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1597, allocations: 4 kB / 0.5628 GB, free: 5.973 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.672e-05/0.1597, allocations: 11.98 kB / 0.5628 GB, free: 5.961 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.1599, allocations: 161.7 kB / 0.563 GB, free: 5.754 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.1601, allocations: 46.55 kB / 0.563 GB, free: 5.699 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.125e-05/0.1601, allocations: 16.94 kB / 0.563 GB, free: 5.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1602, allocations: 4 kB / 0.563 GB, free: 5.676 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.1602, allocations: 34.56 kB / 0.5631 GB, free: 5.633 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1602, allocations: 0 / 0.5631 GB, free: 5.633 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005793/0.1608, allocations: 310.2 kB / 0.5634 GB, free: 5.277 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.1608, allocations: 59.34 kB / 0.5634 GB, free: 5.207 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.463e-05/0.1609, allocations: 97.84 kB / 0.5635 GB, free: 5.102 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1609, allocations: 29.7 kB / 0.5635 GB, free: 5.066 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.161, allocations: 80.14 kB / 0.5636 GB, free: 4.984 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.161, allocations: 19.72 kB / 0.5636 GB, free: 4.965 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.1611, allocations: 17.7 kB / 0.5636 GB, free: 4.941 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1612, allocations: 314.8 kB / 0.5639 GB, free: 4.625 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.459e-05/0.1612, allocations: 8 kB / 0.564 GB, free: 4.617 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/0.1613, allocations: 19.92 kB / 0.564 GB, free: 4.598 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.085e-05/0.1613, allocations: 32.8 kB / 0.564 GB, free: 4.562 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1613, allocations: 0 / 0.564 GB, free: 4.562 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001158/0.1615, allocations: 69.58 kB / 0.5641 GB, free: 4.488 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1615, allocations: 7.938 kB / 0.5641 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1615, allocations: 8 kB / 0.5641 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1615, allocations: 0 / 0.5641 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.184e-05/0.1616, allocations: 12.06 kB / 0.5641 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1616, allocations: 0 / 0.5641 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.1616, allocations: 4 kB / 0.5641 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1616, allocations: 4 kB / 0.5641 GB, free: 4.453 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 (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.093e-05/0.1617, allocations: 113.8 kB / 0.5642 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.1617, allocations: 7.938 kB / 0.5642 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.1619, allocations: 69.66 kB / 0.5643 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1619, allocations: 4 kB / 0.5643 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1619, allocations: 0 / 0.5643 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1619, allocations: 4 kB / 0.5643 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.1623, allocations: 315.3 kB / 0.5646 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1623, allocations: 0 / 0.5646 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.012e-05/0.1623, allocations: 8 kB / 0.5646 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1624, allocations: 4 kB / 0.5646 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1624, allocations: 0 / 0.5646 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1624, allocations: 0 / 0.5646 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1624, allocations: 4.031 kB / 0.5646 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.1626, allocations: 188.2 kB / 0.5648 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.1626, allocations: 77.62 kB / 0.5649 GB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.1627, allocations: 12.02 kB / 0.5649 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.246e-05/0.1627, allocations: 0 / 0.5649 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.1628, allocations: 7.938 kB / 0.5649 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1628, allocations: 4.25 kB / 0.5649 GB, free: 3.539 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.331e-05/0.1628, allocations: 83.27 kB / 0.565 GB, free: 3.457 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1628, allocations: 0 / 0.565 GB, free: 3.457 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1631, allocations: 31.92 kB / 0.565 GB, free: 3.426 MB / 430.1 MB 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.0001808/0.1633, allocations: 119.2 kB / 0.5651 GB, free: 3.301 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.1634, allocations: 35.98 kB / 0.5651 GB, free: 3.266 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1634, allocations: 0 / 0.5651 GB, free: 3.266 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/0.1634, allocations: 20 kB / 0.5652 GB, free: 3.246 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.1637, allocations: 8.75 kB / 0.5652 GB, free: 3.238 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.1641, allocations: 217.5 kB / 0.5654 GB, free: 2.992 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.1643, allocations: 0.677 MB / 0.566 GB, free: 2.289 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.502e-05/0.1644, allocations: 12.36 kB / 0.5661 GB, free: 2.277 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.834e-05/0.1644, allocations: 15.38 kB / 0.5661 GB, free: 2.262 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1644, allocations: 0 / 0.5661 GB, free: 2.262 MB / 430.1 MB Notification: Performance of Templates: time 0.002595/0.167, allocations: 0.6243 MB / 0.5667 GB, free: 1.676 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)