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_m_flow_DerivativeCheck.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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.612/1.612, allocations: 288.4 MB / 303.7 MB, free: 8.164 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.0009501/0.0009501, allocations: 184.5 kB / 372.3 MB, free: 10.11 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.344/1.344, allocations: 205.4 MB / 0.631 GB, free: 9.848 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.0007493/0.0007494, allocations: 90.25 kB / 0.7444 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004122, allocations: 12.09 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.205, allocations: 115.3 MB / 0.9801 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001073/0.2061, allocations: 0.994 MB / 0.9811 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006969/0.2068, allocations: 0.5503 MB / 0.9816 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.743e-05/0.2069, allocations: 0 / 0.9816 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.2069, allocations: 7.922 kB / 0.9817 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.019e-05/0.2069, allocations: 11.92 kB / 0.9817 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.2073, allocations: 121.7 kB / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.282e-05/0.2074, allocations: 27.8 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.406e-05/0.2074, allocations: 0 / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.951e-05/0.2075, allocations: 8 kB / 0.9818 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.033e-05/0.2075, allocations: 15.91 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.2075, allocations: 0 / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003545/0.2079, allocations: 331.4 kB / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.2079, allocations: 11.92 kB / 0.9822 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.2079, allocations: 29.7 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.2081, allocations: 100.1 kB / 0.9823 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2081, allocations: 4 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2081, allocations: 4 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2081, allocations: 0 / 0.9823 GB, free: 25.09 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003121/0.2084, allocations: 351.4 kB / 0.9826 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2085, allocations: 8.031 kB / 0.9826 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.2085, allocations: 4.938 kB / 0.9826 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.858e-05/0.2086, allocations: 168.3 kB / 0.9828 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.2086, allocations: 4.375 kB / 0.9828 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.2087, allocations: 4.375 kB / 0.9828 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.918e-05/0.2088, allocations: 46.23 kB / 0.9828 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.2088, allocations: 192 / 0.9828 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.2088, allocations: 7.938 kB / 0.9829 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2088, allocations: 0 / 0.9829 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.147e-05/0.2088, allocations: 4 kB / 0.9829 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.209, allocations: 161.7 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.2091, allocations: 46.48 kB / 0.9831 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.994e-05/0.2092, allocations: 24.94 kB / 0.9831 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.2092, allocations: 0 / 0.9831 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.2092, allocations: 30.56 kB / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.2092, allocations: 0 / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0005398/0.2098, allocations: 310.1 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.855e-05/0.2098, allocations: 55.41 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.064e-05/0.2098, allocations: 97.84 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.2099, allocations: 33.7 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.519e-05/0.2099, allocations: 80.14 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.2099, allocations: 15.75 kB / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.2099, allocations: 4 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.258e-05/0.21, allocations: 318.8 kB / 0.984 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.21, allocations: 8 kB / 0.984 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.88e-05/0.21, allocations: 15.98 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.2101, allocations: 29.02 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.2101, allocations: 0 / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.913e-05/0.2102, allocations: 81.56 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2102, allocations: 7.938 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2102, allocations: 0 / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2102, allocations: 0 / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.873e-05/0.2103, allocations: 11.94 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2103, allocations: 4 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.2103, allocations: 0 / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.2103, allocations: 0 / 0.9841 GB, free: 22.93 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 (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.182e-05/0.2104, allocations: 123.3 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.148e-06/0.2104, allocations: 7.938 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.2105, allocations: 65.66 kB / 0.9843 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2105, allocations: 4.516 kB / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2105, allocations: 0 / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2105, allocations: 3.938 kB / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.2108, allocations: 315.4 kB / 0.9846 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2108, allocations: 192 / 0.9846 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.2108, allocations: 19.94 kB / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2109, allocations: 4.031 kB / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.2109, allocations: 3.984 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2109, allocations: 3.938 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.2109, allocations: 4 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.211, allocations: 180.2 kB / 0.9848 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.2111, allocations: 77.11 kB / 0.9849 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.2111, allocations: 8.016 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.2112, allocations: 4.062 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.2112, allocations: 8 kB / 0.9849 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.2112, allocations: 0 / 0.9849 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.048e-05/0.2112, allocations: 83.22 kB / 0.985 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2112, allocations: 0 / 0.985 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002324/0.2115, allocations: 31.92 kB / 0.985 GB, free: 21.89 MB / 0.6198 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.0001396/0.2116, allocations: 118.2 kB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.378e-05/0.2117, allocations: 31.98 kB / 0.9852 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2117, allocations: 7.938 kB / 0.9852 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.268e-05/0.2117, allocations: 19.94 kB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.2119, allocations: 3.938 kB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.2123, allocations: 218 kB / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.419e-05/0.2124, allocations: 0.6886 MB / 0.9861 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.124e-05/0.2124, allocations: 7.984 kB / 0.9861 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.2124, allocations: 11.44 kB / 0.9861 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2124, allocations: 4 kB / 0.9861 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.00238/0.2148, allocations: 0.6125 MB / 0.9867 GB, free: 20.15 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)