Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.0009561/0.0009565, allocations: 98.97 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.0009961/0.0009962, allocations: 180.5 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.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.681/0.681, allocations: 115.5 MB / 407.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003477, allocations: 12.77 kB / 495.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1531, allocations: 77.54 MB / 0.56 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001946/0.1551, allocations: 1.185 MB / 0.5611 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1562, allocations: 0.623 MB / 0.5617 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.733e-05/0.1563, allocations: 0 / 0.5617 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.1563, allocations: 11.92 kB / 0.5617 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.074e-05/0.1564, allocations: 11.92 kB / 0.5618 GB, free: 7.172 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.1569, allocations: 131.3 kB / 0.5619 GB, free: 7.047 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.55e-05/0.157, allocations: 55.83 kB / 0.5619 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.157, allocations: 4 kB / 0.5619 GB, free: 6.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.446e-05/0.1571, allocations: 19.92 kB / 0.562 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.486e-05/0.1571, allocations: 23.91 kB / 0.562 GB, free: 6.945 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.1572, allocations: 4 kB / 0.562 GB, free: 6.941 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004549/0.1576, allocations: 347.3 kB / 0.5623 GB, free: 6.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.1576, allocations: 15.91 kB / 0.5623 GB, free: 6.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.1577, allocations: 53.56 kB / 0.5624 GB, free: 6.527 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.1581, allocations: 175.8 kB / 0.5625 GB, free: 6.355 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1581, allocations: 0 / 0.5625 GB, free: 6.355 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1581, allocations: 0 / 0.5625 GB, free: 6.355 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1581, allocations: 0 / 0.5625 GB, free: 6.355 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006175/0.1587, allocations: 391.4 kB / 0.5629 GB, free: 5.922 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1588, allocations: 12.03 kB / 0.5629 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.1588, allocations: 4.844 kB / 0.5629 GB, free: 5.906 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.1589, allocations: 168.3 kB / 0.5631 GB, free: 5.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.159, allocations: 12.31 kB / 0.5631 GB, free: 5.691 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.159, allocations: 4.375 kB / 0.5631 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.1593, allocations: 82.2 kB / 0.5632 GB, free: 5.602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1593, allocations: 4.188 kB / 0.5632 GB, free: 5.598 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.1593, allocations: 7.938 kB / 0.5632 GB, free: 5.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.1593, allocations: 4 kB / 0.5632 GB, free: 5.586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.1596, allocations: 59.95 kB / 0.5633 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.1601, allocations: 336.5 kB / 0.5636 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.1604, allocations: 94.53 kB / 0.5637 GB, free: 5.047 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.1606, allocations: 32.84 kB / 0.5637 GB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.1606, allocations: 0 / 0.5637 GB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1606, allocations: 34.5 kB / 0.5637 GB, free: 4.969 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 2.564e-06/0.1606, allocations: 3.984 kB / 0.5637 GB, free: 4.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0017/0.1623, allocations: 0.6814 MB / 0.5644 GB, free: 4.191 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.1624, allocations: 51.41 kB / 0.5645 GB, free: 4.129 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.1625, allocations: 101.8 kB / 0.5646 GB, free: 4.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1625, allocations: 33.7 kB / 0.5646 GB, free: 3.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.1626, allocations: 88.05 kB / 0.5647 GB, free: 3.891 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.1626, allocations: 39.45 kB / 0.5647 GB, free: 3.852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.1626, allocations: 17.72 kB / 0.5647 GB, free: 3.828 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1628, allocations: 318.8 kB / 0.565 GB, free: 3.508 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1629, allocations: 31.98 kB / 0.5651 GB, free: 3.477 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.163, allocations: 46.84 kB / 0.5651 GB, free: 3.434 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.1633, allocations: 72.83 kB / 0.5652 GB, free: 3.359 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1633, allocations: 3.938 kB / 0.5652 GB, free: 3.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003374/0.1637, allocations: 133.7 kB / 0.5653 GB, free: 3.219 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1637, allocations: 4 kB / 0.5653 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1637, allocations: 0 / 0.5653 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1637, allocations: 0 / 0.5653 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.1639, allocations: 27.98 kB / 0.5653 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1639, allocations: 0 / 0.5653 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/0.164, allocations: 15.92 kB / 0.5654 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.164, allocations: 4 kB / 0.5654 GB, free: 3.168 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.409e-05/0.1641, allocations: 121.8 kB / 0.5655 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.1641, allocations: 4 kB / 0.5655 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.1645, allocations: 137.6 kB / 0.5656 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1645, allocations: 0 / 0.5656 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1646, allocations: 4 kB / 0.5656 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1646, allocations: 7.938 kB / 0.5656 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005951/0.1652, allocations: 394.3 kB / 0.566 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1652, allocations: 0 / 0.566 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.1653, allocations: 35.98 kB / 0.566 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1653, allocations: 0 / 0.566 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1654, allocations: 3.938 kB / 0.566 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1654, allocations: 0 / 0.566 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1654, allocations: 4 kB / 0.566 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.1659, allocations: 259.4 kB / 0.5663 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.1659, allocations: 85.05 kB / 0.5664 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.166, allocations: 7.922 kB / 0.5664 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.1661, allocations: 12 kB / 0.5664 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.1661, allocations: 7.984 kB / 0.5664 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.1661, allocations: 4 kB / 0.5664 GB, free: 1.996 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.727e-05/0.1662, allocations: 87.34 kB / 0.5665 GB, free: 1.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1662, allocations: 0 / 0.5665 GB, free: 1.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1665, allocations: 39.92 kB / 0.5665 GB, free: 1.871 MB / 430.1 MB 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 (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.000195/0.1667, allocations: 131.5 kB / 0.5666 GB, free: 1.734 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.167, allocations: 96.19 kB / 0.5667 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.167, allocations: 4 kB / 0.5667 GB, free: 1.641 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.1672, allocations: 51.91 kB / 0.5668 GB, free: 1.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.1675, allocations: 10.53 kB / 0.5668 GB, free: 1.582 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007138/0.1682, allocations: 389 kB / 0.5672 GB, free: 1.168 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.1685, allocations: 0.6926 MB / 0.5678 GB, free: 460 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.57e-05/0.1686, allocations: 8.672 kB / 0.5679 GB, free: 452 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.1686, allocations: 19.44 kB / 0.5679 GB, free: 432 kB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1686, allocations: 0 / 0.5679 GB, free: 432 kB / 430.1 MB Notification: Performance of Templates: time 0.003355/0.172, allocations: 1.085 MB / 0.5689 GB, free: 15.38 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)