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_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 252 MB / 267.6 MB, free: 10.94 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.001099/0.001099, allocations: 176.1 kB / 327.3 MB, free: 2.219 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.838/1.838, allocations: 205.4 MB / 0.5783 GB, free: 20.54 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.0008041/0.000804, allocations: 98.78 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003109, allocations: 13.62 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1929, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001477/0.1944, allocations: 1.18 MB / 0.902 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007605/0.1952, allocations: 0.5922 MB / 0.9026 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.1952, allocations: 0 / 0.9026 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.1952, allocations: 7.984 kB / 0.9026 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.992e-05/0.1953, allocations: 3.938 kB / 0.9026 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.1957, allocations: 134.1 kB / 0.9027 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.491e-05/0.1958, allocations: 51.59 kB / 0.9028 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.1959, allocations: 4 kB / 0.9028 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.733e-05/0.1959, allocations: 19.92 kB / 0.9028 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.196, allocations: 27.91 kB / 0.9028 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.196, allocations: 4 kB / 0.9028 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004113/0.1964, allocations: 335.3 kB / 0.9031 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.1965, allocations: 23.84 kB / 0.9031 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.1965, allocations: 29.7 kB / 0.9032 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.1967, allocations: 112.1 kB / 0.9033 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1967, allocations: 0 / 0.9033 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1967, allocations: 0 / 0.9033 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.1967, allocations: 0 / 0.9033 GB, free: 61.77 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005029/0.1972, allocations: 395.2 kB / 0.9037 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1973, allocations: 8.031 kB / 0.9037 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.1973, allocations: 7.906 kB / 0.9037 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.277e-05/0.1974, allocations: 174.9 kB / 0.9038 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.1974, allocations: 7.984 kB / 0.9038 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.1974, allocations: 12 kB / 0.9039 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.1977, allocations: 89.59 kB / 0.9039 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1977, allocations: 3.906 kB / 0.9039 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1977, allocations: 0 / 0.9039 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1977, allocations: 0 / 0.9039 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.198, allocations: 59.95 kB / 0.904 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.1985, allocations: 332.6 kB / 0.9043 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.1987, allocations: 86.53 kB / 0.9044 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.1989, allocations: 28.84 kB / 0.9044 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1989, allocations: 4 kB / 0.9044 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.1989, allocations: 38.5 kB / 0.9045 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1989, allocations: 0 / 0.9045 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001516/0.2005, allocations: 0.6773 MB / 0.9051 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.2005, allocations: 51.41 kB / 0.9052 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.818e-05/0.2005, allocations: 109.8 kB / 0.9053 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.2006, allocations: 25.7 kB / 0.9053 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.2006, allocations: 88.08 kB / 0.9054 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.2006, allocations: 39.45 kB / 0.9054 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.2006, allocations: 4 kB / 0.9054 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.419e-05/0.2007, allocations: 314.8 kB / 0.9057 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.2008, allocations: 35.98 kB / 0.9058 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.201, allocations: 39.97 kB / 0.9058 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.2011, allocations: 35.98 kB / 0.9058 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2011, allocations: 0 / 0.9058 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002956/0.2014, allocations: 136.6 kB / 0.906 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2014, allocations: 4 kB / 0.906 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2014, allocations: 3.953 kB / 0.906 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2014, allocations: 0 / 0.906 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.2016, allocations: 27.98 kB / 0.906 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2016, allocations: 0 / 0.906 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.2017, allocations: 11.98 kB / 0.906 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.2017, allocations: 4 kB / 0.906 GB, free: 58.66 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 (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 6.314e-05/0.2018, allocations: 121.8 kB / 0.9061 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.2018, allocations: 7.906 kB / 0.9061 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.2022, allocations: 141.6 kB / 0.9063 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2022, allocations: 3.953 kB / 0.9063 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2022, allocations: 4 kB / 0.9063 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.2022, allocations: 4 kB / 0.9063 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.2027, allocations: 386.4 kB / 0.9067 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2027, allocations: 3.984 kB / 0.9067 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.2028, allocations: 27.98 kB / 0.9067 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2028, allocations: 7.953 kB / 0.9067 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.2029, allocations: 4 kB / 0.9067 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2029, allocations: 0 / 0.9067 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2029, allocations: 4 kB / 0.9067 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/0.2033, allocations: 259.3 kB / 0.907 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.2033, allocations: 85.05 kB / 0.907 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.2034, allocations: 3.953 kB / 0.907 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.2035, allocations: 11.98 kB / 0.9071 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.2035, allocations: 11.92 kB / 0.9071 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.2035, allocations: 8 kB / 0.9071 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.13e-05/0.2036, allocations: 79.28 kB / 0.9071 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2036, allocations: 4.062 kB / 0.9072 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002471/0.2038, allocations: 39.94 kB / 0.9072 GB, free: 57.36 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002115/0.204, allocations: 131.2 kB / 0.9073 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002993/0.2043, allocations: 87.89 kB / 0.9074 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2044, allocations: 4 kB / 0.9074 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.2045, allocations: 51.91 kB / 0.9075 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.2048, allocations: 13.06 kB / 0.9075 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.2053, allocations: 406.9 kB / 0.9079 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.2054, allocations: 0.6887 MB / 0.9085 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.2055, allocations: 15.44 kB / 0.9085 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2055, allocations: 0 / 0.9085 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.002386/0.2079, allocations: 1.307 MB / 0.9098 GB, free: 54.61 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)