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.468/1.468, allocations: 252 MB / 268 MB, free: 10.85 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.001037/0.001037, allocations: 179 kB / 327.6 MB, free: 2.105 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.543/1.543, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0006991/0.0006991, allocations: 85.61 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003147, allocations: 14 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2103, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001295/0.2116, allocations: 1.007 MB / 0.9024 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008003/0.2124, allocations: 0.6086 MB / 0.903 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.377e-05/0.2125, allocations: 0 / 0.903 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.2125, allocations: 11.92 kB / 0.903 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.968e-05/0.2125, allocations: 0 / 0.903 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.2129, allocations: 127.6 kB / 0.9032 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.945e-05/0.213, allocations: 15.92 kB / 0.9032 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.213, allocations: 0 / 0.9032 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.041e-05/0.213, allocations: 11.94 kB / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.214e-05/0.2131, allocations: 11.97 kB / 0.9032 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.2131, allocations: 4 kB / 0.9032 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.2135, allocations: 339.3 kB / 0.9035 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.2135, allocations: 3.938 kB / 0.9035 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.2135, allocations: 37.69 kB / 0.9036 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.2137, allocations: 100 kB / 0.9037 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2137, allocations: 0 / 0.9037 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2137, allocations: 4 kB / 0.9037 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.2137, allocations: 0 / 0.9037 GB, free: 61.21 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.0003375/0.2141, allocations: 351.5 kB / 0.904 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2141, allocations: 11.97 kB / 0.904 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.2141, allocations: 4.938 kB / 0.904 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.067e-05/0.2142, allocations: 176.2 kB / 0.9042 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2142, allocations: 384 / 0.9042 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.2143, allocations: 12.28 kB / 0.9042 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.966e-05/0.2144, allocations: 38.25 kB / 0.9042 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2144, allocations: 4.188 kB / 0.9042 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.2144, allocations: 7.938 kB / 0.9043 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2144, allocations: 0 / 0.9043 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.152e-05/0.2144, allocations: 4 kB / 0.9043 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.2146, allocations: 157.7 kB / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.2147, allocations: 46.55 kB / 0.9045 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.824e-05/0.2148, allocations: 24.94 kB / 0.9045 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2148, allocations: 3.984 kB / 0.9045 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.2148, allocations: 30.56 kB / 0.9045 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2148, allocations: 0 / 0.9045 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0004904/0.2153, allocations: 310.2 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/0.2153, allocations: 51.41 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.187e-05/0.2154, allocations: 97.84 kB / 0.9049 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.2154, allocations: 33.7 kB / 0.905 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.684e-05/0.2154, allocations: 80.14 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.2154, allocations: 27.59 kB / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-06/0.2155, allocations: 0 / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.428e-05/0.2155, allocations: 318.8 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.2155, allocations: 12 kB / 0.9054 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.737e-05/0.2156, allocations: 12 kB / 0.9054 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.489e-05/0.2156, allocations: 28.84 kB / 0.9054 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.2156, allocations: 0 / 0.9054 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.64e-05/0.2157, allocations: 73.67 kB / 0.9055 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2157, allocations: 11.94 kB / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.2157, allocations: 0 / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.2157, allocations: 0 / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.645e-05/0.2158, allocations: 11.94 kB / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2158, allocations: 240 / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/0.2158, allocations: 4 kB / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.2158, allocations: 0 / 0.9055 GB, free: 59.04 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.58e-05/0.2159, allocations: 109.8 kB / 0.9056 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.2159, allocations: 15.92 kB / 0.9057 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.216, allocations: 73.55 kB / 0.9057 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.216, allocations: 0 / 0.9057 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.216, allocations: 7.938 kB / 0.9057 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.216, allocations: 0 / 0.9057 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.2163, allocations: 319.3 kB / 0.906 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2163, allocations: 0 / 0.906 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.463e-05/0.2163, allocations: 11.94 kB / 0.906 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2163, allocations: 8.031 kB / 0.9061 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.2164, allocations: 0 / 0.9061 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2164, allocations: 0 / 0.9061 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2164, allocations: 0 / 0.9061 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.2165, allocations: 184.5 kB / 0.9062 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.2165, allocations: 77.11 kB / 0.9063 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.2166, allocations: 4.031 kB / 0.9063 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.637e-05/0.2166, allocations: 8.047 kB / 0.9063 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.2166, allocations: 8 kB / 0.9063 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.2167, allocations: 0 / 0.9063 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.86e-05/0.2167, allocations: 79.28 kB / 0.9064 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.764e-06/0.2167, allocations: 0 / 0.9064 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002145/0.2169, allocations: 31.86 kB / 0.9064 GB, free: 58 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001396/0.217, allocations: 119.2 kB / 0.9065 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.325e-05/0.2171, allocations: 35.97 kB / 0.9066 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2171, allocations: 4 kB / 0.9066 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.167e-05/0.2172, allocations: 15.94 kB / 0.9066 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.2174, allocations: 18.36 kB / 0.9066 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.2177, allocations: 248 kB / 0.9069 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.2178, allocations: 0.6809 MB / 0.9075 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.2178, allocations: 15.38 kB / 0.9075 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2179, allocations: 0 / 0.9075 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of Templates: time 0.001769/0.2196, allocations: 0.7961 MB / 0.9083 GB, free: 56.02 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)