Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.573/1.573, allocations: 288.4 MB / 304.3 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009716/0.0009717, allocations: 181.8 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.4 MB / 0.6316 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007353/0.0007353, allocations: 102.2 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003348, allocations: 16.5 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1599, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001028/0.1609, allocations: 0.9979 MB / 0.9817 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006484/0.1616, allocations: 0.5542 MB / 0.9823 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.593e-05/0.1616, allocations: 0 / 0.9823 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.1617, allocations: 3.938 kB / 0.9823 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.994e-05/0.1617, allocations: 3.938 kB / 0.9823 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.1621, allocations: 123.6 kB / 0.9824 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.043e-05/0.1621, allocations: 23.86 kB / 0.9824 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.1622, allocations: 8 kB / 0.9824 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.786e-05/0.1622, allocations: 4 kB / 0.9824 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.938e-05/0.1622, allocations: 11.94 kB / 0.9824 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.1623, allocations: 0 / 0.9824 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.1626, allocations: 335.3 kB / 0.9827 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.876e-06/0.1626, allocations: 15.92 kB / 0.9828 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.1626, allocations: 29.7 kB / 0.9828 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.1628, allocations: 92.11 kB / 0.9829 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1628, allocations: 4 kB / 0.9829 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1628, allocations: 0 / 0.9829 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.1628, allocations: 0 / 0.9829 GB, free: 25.14 MB / 0.6198 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.0002819/0.1631, allocations: 363.3 kB / 0.9832 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1631, allocations: 8.031 kB / 0.9832 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.409e-05/0.1632, allocations: 0.9375 kB / 0.9832 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.359e-05/0.1632, allocations: 168.3 kB / 0.9834 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1632, allocations: 4.375 kB / 0.9834 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.1633, allocations: 384 / 0.9834 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.941e-05/0.1634, allocations: 42.25 kB / 0.9834 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.1634, allocations: 192 / 0.9834 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1634, allocations: 3.938 kB / 0.9834 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1634, allocations: 4 kB / 0.9835 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.96e-05/0.1634, allocations: 15.92 kB / 0.9835 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.1635, allocations: 157.7 kB / 0.9836 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.1637, allocations: 42.5 kB / 0.9837 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.1637, allocations: 20.86 kB / 0.9837 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.1637, allocations: 0 / 0.9837 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.223e-05/0.1638, allocations: 38.56 kB / 0.9837 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1638, allocations: 0 / 0.9837 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.000452/0.1642, allocations: 318.5 kB / 0.984 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.367e-05/0.1642, allocations: 51.41 kB / 0.9841 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.732e-05/0.1643, allocations: 97.84 kB / 0.9842 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.1643, allocations: 29.7 kB / 0.9842 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.337e-05/0.1643, allocations: 84.12 kB / 0.9843 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.1643, allocations: 19.81 kB / 0.9843 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.1644, allocations: 0 / 0.9843 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.436e-05/0.1644, allocations: 314.8 kB / 0.9846 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.1644, allocations: 15.98 kB / 0.9846 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.75e-05/0.1644, allocations: 15.98 kB / 0.9846 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.305e-05/0.1645, allocations: 24.86 kB / 0.9846 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1645, allocations: 0 / 0.9846 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.611e-05/0.1646, allocations: 69.59 kB / 0.9847 GB, free: 23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.1646, allocations: 7.938 kB / 0.9847 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1646, allocations: 7.938 kB / 0.9847 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.1646, allocations: 4 kB / 0.9847 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.78e-05/0.1647, allocations: 15.92 kB / 0.9847 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1647, allocations: 0 / 0.9847 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.67e-05/0.1647, allocations: 0 / 0.9847 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-06/0.1647, allocations: 4 kB / 0.9847 GB, free: 22.96 MB / 0.6198 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 4.019e-05/0.1648, allocations: 113.8 kB / 0.9849 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-06/0.1648, allocations: 7.938 kB / 0.9849 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.1649, allocations: 73.64 kB / 0.9849 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1649, allocations: 0 / 0.9849 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1649, allocations: 0 / 0.9849 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.1649, allocations: 85.11 kB / 0.985 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.165, allocations: 3.984 kB / 0.985 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.695e-05/0.165, allocations: 3.938 kB / 0.985 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.165, allocations: 4 kB / 0.985 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001173/0.1651, allocations: 152.8 kB / 0.9852 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001293/0.1653, allocations: 250.8 kB / 0.9854 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.579e-05/0.1653, allocations: 16.22 kB / 0.9854 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.556e-05/0.1653, allocations: 83.28 kB / 0.9855 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of Backend: time 2.1e-07/0.1653, allocations: 0 / 0.9855 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004015/0.1657, allocations: 165.3 kB / 0.9857 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003188/0.1661, allocations: 0.6507 MB / 0.9863 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.002772/0.1689, allocations: 1.207 MB / 0.9875 GB, free: 20.09 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)