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_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.561/1.561, allocations: 287.4 MB / 303.2 MB, free: 8.289 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.001129/0.001129, allocations: 190.2 kB / 371.8 MB, free: 10.81 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.372/1.372, allocations: 205.4 MB / 0.6304 GB, free: 10.55 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.0007293/0.0007293, allocations: 94.3 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003291, allocations: 12.62 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1563, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001329/0.1576, allocations: 1.183 MB / 0.9804 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007707/0.1584, allocations: 0.5853 MB / 0.981 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.1585, allocations: 0 / 0.981 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.1585, allocations: 0 / 0.981 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.497e-05/0.1585, allocations: 7.938 kB / 0.981 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.159, allocations: 132.7 kB / 0.9811 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.204e-05/0.1591, allocations: 47.86 kB / 0.9812 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.1591, allocations: 7.984 kB / 0.9812 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.924e-05/0.1592, allocations: 19.92 kB / 0.9812 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.621e-05/0.1592, allocations: 27.91 kB / 0.9812 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1593, allocations: 4 kB / 0.9812 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.1596, allocations: 339.3 kB / 0.9816 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.1597, allocations: 4 kB / 0.9816 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.1597, allocations: 37.64 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.1599, allocations: 116 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1599, allocations: 0 / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1599, allocations: 4 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.1599, allocations: 0 / 0.9817 GB, free: 25.67 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004385/0.1603, allocations: 395.2 kB / 0.9821 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1604, allocations: 12.02 kB / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.1604, allocations: 8.844 kB / 0.9821 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.174e-05/0.1605, allocations: 164.4 kB / 0.9823 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.1605, allocations: 8.375 kB / 0.9823 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1606, allocations: 12.31 kB / 0.9823 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.1608, allocations: 82.91 kB / 0.9824 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1608, allocations: 192 / 0.9824 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1608, allocations: 3.938 kB / 0.9824 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1608, allocations: 7.984 kB / 0.9824 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.1611, allocations: 59.95 kB / 0.9824 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.1615, allocations: 332.6 kB / 0.9828 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.1618, allocations: 86.53 kB / 0.9828 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1619, allocations: 36.83 kB / 0.9829 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.162, allocations: 8 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.162, allocations: 30.56 kB / 0.9829 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.162, allocations: 0 / 0.9829 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001434/0.1634, allocations: 0.6696 MB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.405e-05/0.1635, allocations: 59.34 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.317e-05/0.1635, allocations: 97.86 kB / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.1635, allocations: 25.7 kB / 0.9837 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.367e-05/0.1635, allocations: 96.03 kB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.1636, allocations: 35.45 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.1636, allocations: 4 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.683e-05/0.1636, allocations: 314.8 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.1638, allocations: 43.97 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1639, allocations: 37.48 kB / 0.9843 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.1641, allocations: 85.33 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1641, allocations: 0 / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002857/0.1644, allocations: 123.1 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1645, allocations: 4 kB / 0.9845 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1645, allocations: 3.938 kB / 0.9845 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1645, allocations: 3.984 kB / 0.9845 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.1646, allocations: 35.98 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1647, allocations: 0 / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.592e-05/0.1647, allocations: 7.938 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1647, allocations: 8 kB / 0.9845 GB, free: 22.51 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 (13): * Single equations (assignments): 13 * 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 5.398e-05/0.1648, allocations: 125.8 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.1648, allocations: 4 kB / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003468/0.1652, allocations: 141.4 kB / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1652, allocations: 0 / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1652, allocations: 0 / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.1652, allocations: 89.03 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.1653, allocations: 0 / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.1654, allocations: 8.094 kB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.1654, allocations: 15.92 kB / 0.9849 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003915/0.1658, allocations: 212.8 kB / 0.9851 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000459/0.1663, allocations: 346.8 kB / 0.9854 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001305/0.1664, allocations: 44.06 kB / 0.9855 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.76e-05/0.1664, allocations: 87.44 kB / 0.9855 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of Backend: time 2.4e-07/0.1665, allocations: 0 / 0.9855 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005426/0.167, allocations: 198.2 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004923/0.1675, allocations: 0.7831 MB / 0.9865 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of Templates: time 0.00337/0.1709, allocations: 1.639 MB / 0.9881 GB, free: 18.77 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)