Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.307/1.307, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008888/0.0008888, allocations: 178.7 kB / 326.5 MB, free: 2.691 MB / 250.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 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007272/0.0007272, allocations: 110.4 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002867/0.0002867, allocations: 12.66 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1675, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001099/0.1686, allocations: 1.01 MB / 0.8977 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008198/0.1694, allocations: 0.6283 MB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.1695, allocations: 0 / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.1695, allocations: 3.938 kB / 0.8984 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.342e-05/0.1696, allocations: 4 kB / 0.8984 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.17, allocations: 122.6 kB / 0.8985 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.738e-05/0.17, allocations: 19.94 kB / 0.8985 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.1701, allocations: 0 / 0.8985 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.956e-05/0.1701, allocations: 11.92 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.08e-05/0.1702, allocations: 11.98 kB / 0.8985 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.1702, allocations: 0 / 0.8985 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/0.1706, allocations: 347.3 kB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.1706, allocations: 4 kB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.1706, allocations: 11.94 kB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.1708, allocations: 147.8 kB / 0.899 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1708, allocations: 4 kB / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1708, allocations: 0 / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.1709, allocations: 0 / 0.899 GB, free: 65.82 MB / 0.6042 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.0002769/0.1711, allocations: 347.4 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1712, allocations: 12.03 kB / 0.8994 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.1712, allocations: 0.9375 kB / 0.8994 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.922e-05/0.1713, allocations: 168.4 kB / 0.8995 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.1713, allocations: 8.375 kB / 0.8995 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1713, allocations: 8.219 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.685e-05/0.1714, allocations: 42.25 kB / 0.8996 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1714, allocations: 192 / 0.8996 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1714, allocations: 7.875 kB / 0.8996 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1715, allocations: 3.938 kB / 0.8996 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.246e-05/0.1715, allocations: 8 kB / 0.8996 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.1716, allocations: 165.6 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.1718, allocations: 46.55 kB / 0.8998 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.1718, allocations: 20.94 kB / 0.8998 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.1718, allocations: 3.984 kB / 0.8998 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.1718, allocations: 34.56 kB / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1718, allocations: 0 / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0004784/0.1723, allocations: 314.2 kB / 0.9001 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.73e-05/0.1724, allocations: 51.41 kB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.645e-05/0.1724, allocations: 101.8 kB / 0.9003 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.1724, allocations: 25.7 kB / 0.9003 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.296e-05/0.1724, allocations: 80.14 kB / 0.9004 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.1725, allocations: 27.64 kB / 0.9004 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.1725, allocations: 13.72 kB / 0.9004 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.368e-05/0.1725, allocations: 314.8 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.1726, allocations: 8 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.882e-05/0.1726, allocations: 15.98 kB / 0.9008 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.601e-05/0.1726, allocations: 36.8 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1726, allocations: 0 / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.742e-05/0.1727, allocations: 65.67 kB / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1727, allocations: 7.938 kB / 0.9009 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1727, allocations: 0 / 0.9009 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1728, allocations: 0 / 0.9009 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.577e-05/0.1728, allocations: 15.98 kB / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.1728, allocations: 0 / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.1728, allocations: 4 kB / 0.9009 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.1728, allocations: 4 kB / 0.9009 GB, free: 63.63 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.1729, allocations: 113.8 kB / 0.901 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.1729, allocations: 3.938 kB / 0.901 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.173, allocations: 81.62 kB / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1731, allocations: 3.984 kB / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1731, allocations: 0 / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.1731, allocations: 77.11 kB / 0.9012 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.1731, allocations: 4 kB / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.878e-05/0.1732, allocations: 4 kB / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.1732, allocations: 11.92 kB / 0.9012 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001162/0.1733, allocations: 140.9 kB / 0.9013 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001408/0.1735, allocations: 250.8 kB / 0.9015 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.812e-05/0.1735, allocations: 19.95 kB / 0.9016 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.68e-05/0.1735, allocations: 83.34 kB / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of Backend: time 3.6e-07/0.1735, allocations: 0 / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004221/0.174, allocations: 166.1 kB / 0.9018 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003479/0.1743, allocations: 0.6243 MB / 0.9024 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.002825/0.1772, allocations: 1.213 MB / 0.9036 GB, free: 60.77 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)