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_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 252 MB / 267.6 MB, free: 10.93 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.00112/0.00112, allocations: 178.5 kB / 327.3 MB, free: 2.238 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.899/1.899, allocations: 205.4 MB / 0.5783 GB, free: 20.25 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.0008406/0.0008407, allocations: 88.19 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002986, allocations: 9.859 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2095, allocations: 106.3 MB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001317/0.2108, allocations: 1.005 MB / 0.9018 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008034/0.2117, allocations: 0.5623 MB / 0.9024 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.2117, allocations: 0 / 0.9024 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.2117, allocations: 0 / 0.9024 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.406e-05/0.2118, allocations: 3.984 kB / 0.9024 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.2122, allocations: 119.6 kB / 0.9025 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.952e-05/0.2123, allocations: 19.86 kB / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.165e-05/0.2123, allocations: 4 kB / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.2124, allocations: 15.94 kB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.869e-05/0.2124, allocations: 7.922 kB / 0.9025 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.2125, allocations: 4 kB / 0.9025 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003787/0.2129, allocations: 339.3 kB / 0.9029 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.474e-06/0.2129, allocations: 0 / 0.9029 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.2129, allocations: 29.7 kB / 0.9029 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.2131, allocations: 96.05 kB / 0.903 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.2131, allocations: 4 kB / 0.903 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2131, allocations: 0 / 0.903 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2131, allocations: 8 kB / 0.903 GB, free: 61.73 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.0003311/0.2134, allocations: 351.2 kB / 0.9033 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.2135, allocations: 8.031 kB / 0.9033 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.2135, allocations: 4 kB / 0.9033 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.552e-05/0.2136, allocations: 167 kB / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.2136, allocations: 4 kB / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.2136, allocations: 7.938 kB / 0.9035 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.806e-05/0.2137, allocations: 37.69 kB / 0.9035 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.2137, allocations: 0 / 0.9035 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.2138, allocations: 4 kB / 0.9035 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2138, allocations: 4 kB / 0.9035 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.269e-05/0.2138, allocations: 7.984 kB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.2139, allocations: 165.5 kB / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.2141, allocations: 46.55 kB / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.2141, allocations: 16.84 kB / 0.9038 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.2142, allocations: 4 kB / 0.9038 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.2142, allocations: 38.64 kB / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2142, allocations: 0 / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0005319/0.2147, allocations: 302.3 kB / 0.9041 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.2148, allocations: 51.41 kB / 0.9042 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.137e-05/0.2148, allocations: 97.84 kB / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.2148, allocations: 29.7 kB / 0.9043 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.913e-05/0.2149, allocations: 88.14 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.2149, allocations: 23.64 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.2149, allocations: 0 / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.513e-05/0.215, allocations: 318.8 kB / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.215, allocations: 15.92 kB / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.761e-05/0.215, allocations: 12 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/0.2151, allocations: 15.94 kB / 0.9047 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.2151, allocations: 3.938 kB / 0.9047 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.618e-05/0.2151, allocations: 57.69 kB / 0.9048 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2152, allocations: 12 kB / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2152, allocations: 240 / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2152, allocations: 0 / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.994e-05/0.2153, allocations: 15.98 kB / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.2153, allocations: 7.984 kB / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.808e-05/0.2153, allocations: 4.062 kB / 0.9048 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.2153, allocations: 0 / 0.9048 GB, free: 59.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.535e-05/0.2154, allocations: 121.7 kB / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-06/0.2154, allocations: 0 / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.2155, allocations: 77.55 kB / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2155, allocations: 4 kB / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2155, allocations: 0 / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2155, allocations: 0 / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.2158, allocations: 315.4 kB / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2158, allocations: 0 / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.748e-05/0.2158, allocations: 11.98 kB / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2159, allocations: 4 kB / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.2159, allocations: 0 / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2159, allocations: 4.031 kB / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2159, allocations: 0 / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.216, allocations: 180.3 kB / 0.9055 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.2161, allocations: 85.09 kB / 0.9056 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.2161, allocations: 4.031 kB / 0.9056 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.16e-05/0.2162, allocations: 0 / 0.9056 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.2162, allocations: 8.047 kB / 0.9056 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.2162, allocations: 4 kB / 0.9056 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.959e-05/0.2162, allocations: 83.8 kB / 0.9057 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2162, allocations: 0 / 0.9057 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002804/0.2165, allocations: 20 kB / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001464/0.2167, allocations: 123.1 kB / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.648e-05/0.2168, allocations: 35.92 kB / 0.9059 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2168, allocations: 0 / 0.9059 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.108e-05/0.2168, allocations: 20.19 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.217, allocations: 11.94 kB / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.2174, allocations: 263 kB / 0.9061 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.2175, allocations: 0.6809 MB / 0.9068 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.2175, allocations: 11.44 kB / 0.9068 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.2175, allocations: 0 / 0.9068 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of Templates: time 0.001855/0.2194, allocations: 0.7695 MB / 0.9076 GB, free: 56.59 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)