Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.775/2.775, allocations: 287.5 MB / 302.4 MB, free: 8.266 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.001253/0.001253, allocations: 178.2 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0008902/0.00089, allocations: 95.25 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004998/0.0005004, allocations: 14.94 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2059, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001694/0.2076, allocations: 1.179 MB / 0.9795 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2088, allocations: 0.5814 MB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.421e-05/0.2088, allocations: 8 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.2089, allocations: 0 / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.271e-05/0.2089, allocations: 11.91 kB / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006167/0.2095, allocations: 128.6 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.371e-05/0.2096, allocations: 47.83 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.2097, allocations: 4 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.861e-05/0.2098, allocations: 23.92 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.2098, allocations: 27.91 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.2099, allocations: 4 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006473/0.2105, allocations: 335.3 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.2106, allocations: 19.91 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.2106, allocations: 33.7 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.2108, allocations: 112 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2109, allocations: 4 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2109, allocations: 0 / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2109, allocations: 0 / 0.9808 GB, free: 25.83 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006572/0.2116, allocations: 399.1 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.2116, allocations: 12.02 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.2117, allocations: 7.906 kB / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.165e-05/0.2118, allocations: 167 kB / 0.9814 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.2118, allocations: 8 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.2118, allocations: 4 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.2122, allocations: 81.66 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.2122, allocations: 7.922 kB / 0.9815 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.2123, allocations: 11.98 kB / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2123, allocations: 0 / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.2127, allocations: 53.09 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006392/0.2133, allocations: 332.6 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.2138, allocations: 90.53 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.214, allocations: 33 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.2141, allocations: 3.984 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.2141, allocations: 34.5 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.2141, allocations: 4 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.00229/0.2164, allocations: 0.6773 MB / 0.9827 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.2164, allocations: 51.41 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.205e-05/0.2165, allocations: 101.8 kB / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.2165, allocations: 33.7 kB / 0.9828 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.2166, allocations: 84.05 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.2166, allocations: 39.45 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-06/0.2167, allocations: 0 / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.816e-05/0.2167, allocations: 318.8 kB / 0.9833 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.2169, allocations: 31.97 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.2172, allocations: 44.09 kB / 0.9833 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.2174, allocations: 33.25 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2174, allocations: 0 / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005105/0.2179, allocations: 129.5 kB / 0.9835 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.218, allocations: 11.98 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.218, allocations: 3.953 kB / 0.9835 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.218, allocations: 0 / 0.9835 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.2183, allocations: 31.98 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2183, allocations: 0 / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.2184, allocations: 7.938 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.2184, allocations: 4 kB / 0.9835 GB, free: 22.72 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 (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 7.973e-05/0.2185, allocations: 125.8 kB / 0.9837 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.2186, allocations: 4 kB / 0.9837 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005751/0.2192, allocations: 133.5 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2192, allocations: 3.953 kB / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2192, allocations: 4 kB / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2192, allocations: 3.984 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007617/0.22, allocations: 394.4 kB / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.22, allocations: 0 / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.2203, allocations: 23.98 kB / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.2203, allocations: 12.05 kB / 0.9842 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.2203, allocations: 7.922 kB / 0.9842 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2204, allocations: 4 kB / 0.9842 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2204, allocations: 192 / 0.9842 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000766/0.2211, allocations: 268.5 kB / 0.9845 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.2212, allocations: 85 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.2212, allocations: 7.984 kB / 0.9846 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.2214, allocations: 11.98 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.82e-05/0.2215, allocations: 4 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.2215, allocations: 4 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.2215, allocations: 91.33 kB / 0.9847 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2215, allocations: 0 / 0.9847 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003509/0.2219, allocations: 36 kB / 0.9847 GB, free: 21.41 MB / 0.6198 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.0002371/0.2221, allocations: 131.2 kB / 0.9848 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005084/0.2227, allocations: 87.89 kB / 0.9849 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2227, allocations: 4 kB / 0.9849 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.2229, allocations: 55.84 kB / 0.985 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.2233, allocations: 8 kB / 0.985 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008725/0.2242, allocations: 373.3 kB / 0.9853 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.2243, allocations: 0.6887 MB / 0.986 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.2244, allocations: 16.66 kB / 0.986 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.2245, allocations: 15.44 kB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of SimCode: time 7.81e-07/0.2245, allocations: 0 / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.004857/0.2294, allocations: 1.07 MB / 0.9871 GB, free: 18.95 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)