Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.603/1.603, allocations: 287.4 MB / 303.2 MB, free: 8.207 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.0008721/0.0008722, allocations: 180 kB / 371.8 MB, free: 10.82 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.276/1.276, allocations: 205.4 MB / 0.6304 GB, free: 10.56 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.0007407/0.0007407, allocations: 94.34 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003509, allocations: 16.27 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1616, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001001/0.1626, allocations: 1.002 MB / 0.9803 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007186/0.1634, allocations: 0.5534 MB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.407e-05/0.1634, allocations: 0 / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.1634, allocations: 3.938 kB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.79e-05/0.1635, allocations: 3.984 kB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.1638, allocations: 120.6 kB / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.014e-05/0.1639, allocations: 19.92 kB / 0.9809 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 2.847e-05/0.1639, allocations: 7.938 kB / 0.9809 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.809e-05/0.1639, allocations: 8 kB / 0.981 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.73e-05/0.164, allocations: 11.92 kB / 0.981 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.164, allocations: 4 kB / 0.981 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.1644, allocations: 335.3 kB / 0.9813 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.1644, allocations: 7.938 kB / 0.9813 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.601e-05/0.1644, allocations: 29.7 kB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.1646, allocations: 88.11 kB / 0.9814 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1646, allocations: 4 kB / 0.9814 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1646, allocations: 0 / 0.9814 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.906e-06/0.1646, allocations: 0 / 0.9814 GB, free: 25.99 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.0002535/0.1648, allocations: 359.3 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1649, allocations: 12.03 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.1649, allocations: 4.938 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.221e-05/0.165, allocations: 160.4 kB / 0.9819 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.165, allocations: 384 / 0.9819 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.165, allocations: 16.31 kB / 0.9819 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.606e-05/0.1651, allocations: 34.25 kB / 0.982 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.1651, allocations: 192 / 0.982 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1651, allocations: 7.938 kB / 0.982 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1651, allocations: 7.938 kB / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.102e-05/0.1652, allocations: 11.97 kB / 0.982 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/0.1653, allocations: 157.7 kB / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.1654, allocations: 46.61 kB / 0.9822 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.1655, allocations: 12.86 kB / 0.9822 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.1655, allocations: 4 kB / 0.9822 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.1655, allocations: 38.58 kB / 0.9823 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1655, allocations: 7.938 kB / 0.9823 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004424/0.166, allocations: 314.1 kB / 0.9826 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.181e-05/0.166, allocations: 51.41 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.798e-05/0.166, allocations: 97.84 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.166, allocations: 29.7 kB / 0.9827 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.229e-05/0.1661, allocations: 84.14 kB / 0.9828 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.1661, allocations: 7.812 kB / 0.9828 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.1661, allocations: 4 kB / 0.9828 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.661e-05/0.1661, allocations: 318.8 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.07e-05/0.1662, allocations: 11.98 kB / 0.9831 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.814e-05/0.1662, allocations: 15.98 kB / 0.9832 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.376e-05/0.1662, allocations: 28.86 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1662, allocations: 0 / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.803e-05/0.1663, allocations: 69.53 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.1663, allocations: 11.94 kB / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1663, allocations: 0 / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1664, allocations: 0 / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.745e-05/0.1664, allocations: 15.98 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.1664, allocations: 0 / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.708e-05/0.1665, allocations: 4 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.1665, allocations: 0 / 0.9833 GB, free: 23.82 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.039e-05/0.1665, allocations: 117.8 kB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.1665, allocations: 3.938 kB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.1666, allocations: 77.52 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1666, allocations: 0 / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1666, allocations: 0 / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.1667, allocations: 89.09 kB / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.1667, allocations: 4 kB / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.784e-05/0.1668, allocations: 0 / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.1668, allocations: 4 kB / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001163/0.1669, allocations: 148.8 kB / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001549/0.1671, allocations: 262.9 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.56e-05/0.1671, allocations: 12.52 kB / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.425e-05/0.1671, allocations: 79.27 kB / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of Backend: time 7.31e-07/0.1671, allocations: 0 / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003983/0.1675, allocations: 166.3 kB / 0.9842 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003157/0.1679, allocations: 0.6542 MB / 0.9848 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.002693/0.1706, allocations: 1.193 MB / 0.986 GB, free: 20.95 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)