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_dp_DerivativeCheck2.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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.566/1.566, allocations: 288.4 MB / 304.3 MB, free: 8.102 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.0009168/0.0009168, allocations: 186.7 kB / 372.9 MB, free: 10.15 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.426/1.426, allocations: 205.4 MB / 0.6316 GB, free: 9.863 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.0008438/0.0008438, allocations: 89.06 kB / 0.745 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003448, allocations: 11.22 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1603, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001003/0.1614, allocations: 1.006 MB / 0.9817 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006906/0.1621, allocations: 0.5619 MB / 0.9823 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.033e-05/0.1621, allocations: 4 kB / 0.9823 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.1621, allocations: 0 / 0.9823 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.334e-05/0.1622, allocations: 7.922 kB / 0.9823 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005788/0.1627, allocations: 124.7 kB / 0.9824 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.423e-05/0.1628, allocations: 23.92 kB / 0.9824 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.1628, allocations: 3.938 kB / 0.9824 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.61e-05/0.1629, allocations: 23.91 kB / 0.9825 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.615e-05/0.1629, allocations: 4 kB / 0.9825 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.163, allocations: 0 / 0.9825 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.1633, allocations: 343.3 kB / 0.9828 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.298e-06/0.1633, allocations: 3.984 kB / 0.9828 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.1633, allocations: 41.64 kB / 0.9828 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.1635, allocations: 104.1 kB / 0.9829 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1635, allocations: 4 kB / 0.9829 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1635, allocations: 0 / 0.9829 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.1635, allocations: 0 / 0.9829 GB, free: 25.08 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002735/0.1638, allocations: 359.3 kB / 0.9833 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1639, allocations: 8.031 kB / 0.9833 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.1639, allocations: 4.938 kB / 0.9833 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.909e-05/0.164, allocations: 172.3 kB / 0.9834 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.164, allocations: 384 / 0.9834 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.164, allocations: 4.375 kB / 0.9835 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.451e-05/0.1641, allocations: 58.23 kB / 0.9835 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1641, allocations: 192 / 0.9835 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.1641, allocations: 3.938 kB / 0.9835 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1641, allocations: 0 / 0.9835 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.003e-05/0.1642, allocations: 19.98 kB / 0.9835 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.1643, allocations: 169.6 kB / 0.9837 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.537e-05/0.1644, allocations: 58.5 kB / 0.9837 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.1644, allocations: 36.78 kB / 0.9838 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.1645, allocations: 4 kB / 0.9838 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/0.1645, allocations: 34.5 kB / 0.9838 GB, free: 24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.1645, allocations: 3.984 kB / 0.9838 GB, free: 24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008424/0.1653, allocations: 0.5841 MB / 0.9844 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.179e-05/0.1654, allocations: 51.41 kB / 0.9844 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.584e-05/0.1654, allocations: 97.86 kB / 0.9845 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.1654, allocations: 29.64 kB / 0.9846 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.202e-05/0.1654, allocations: 80.14 kB / 0.9846 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.1655, allocations: 47.39 kB / 0.9847 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.1655, allocations: 0 / 0.9847 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.72e-05/0.1655, allocations: 323 kB / 0.985 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.308e-05/0.1655, allocations: 19.94 kB / 0.985 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.1656, allocations: 19.98 kB / 0.985 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.881e-05/0.1657, allocations: 58.97 kB / 0.9851 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1657, allocations: 0 / 0.9851 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001123/0.1658, allocations: 101.5 kB / 0.9852 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1658, allocations: 9.719 kB / 0.9852 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1658, allocations: 4 kB / 0.9852 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1658, allocations: 0 / 0.9852 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.1659, allocations: 23.92 kB / 0.9852 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1659, allocations: 8 kB / 0.9852 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.391e-05/0.166, allocations: 4 kB / 0.9852 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.166, allocations: 4 kB / 0.9852 GB, free: 22.41 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 4.431e-05/0.166, allocations: 113.8 kB / 0.9853 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.1661, allocations: 7.938 kB / 0.9854 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.1662, allocations: 105.5 kB / 0.9855 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1662, allocations: 96 / 0.9855 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1662, allocations: 3.938 kB / 0.9855 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.1662, allocations: 89.02 kB / 0.9855 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.1663, allocations: 4 kB / 0.9855 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.559e-05/0.1663, allocations: 4 kB / 0.9855 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.1664, allocations: 3.984 kB / 0.9856 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001668/0.1665, allocations: 181 kB / 0.9857 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001861/0.1667, allocations: 302.6 kB / 0.986 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.967e-05/0.1668, allocations: 28.02 kB / 0.986 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.226e-05/0.1668, allocations: 75.28 kB / 0.9861 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of Backend: time 2.7e-07/0.1668, allocations: 0 / 0.9861 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004287/0.1672, allocations: 188.2 kB / 0.9863 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004371/0.1677, allocations: 0.7635 MB / 0.987 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.003103/0.1708, allocations: 1.437 MB / 0.9884 GB, free: 19.06 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)