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_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.599/1.599, allocations: 288.4 MB / 303.4 MB, free: 8.133 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.0009814/0.0009815, allocations: 182 kB / 372 MB, free: 10.26 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.395/1.395, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.000785/0.000785, allocations: 93.12 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003647, allocations: 15.72 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.205, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001497/0.2065, allocations: 1.179 MB / 0.9807 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008533/0.2074, allocations: 0.5814 MB / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.2075, allocations: 0 / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.2075, allocations: 3.984 kB / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-05/0.2076, allocations: 3.938 kB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006294/0.2082, allocations: 136.7 kB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.972e-05/0.2083, allocations: 51.59 kB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.2083, allocations: 4 kB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.557e-05/0.2084, allocations: 23.92 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.546e-05/0.2085, allocations: 23.91 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.2085, allocations: 4 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/0.2089, allocations: 335.3 kB / 0.9819 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.209, allocations: 19.91 kB / 0.9819 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.209, allocations: 29.7 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.2092, allocations: 120 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2092, allocations: 0 / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2092, allocations: 0 / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.2092, allocations: 3.938 kB / 0.982 GB, free: 25.15 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.0005301/0.2098, allocations: 391.2 kB / 0.9824 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2098, allocations: 12.02 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.2099, allocations: 11.91 kB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.779e-05/0.21, allocations: 171 kB / 0.9826 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.21, allocations: 8 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.21, allocations: 11.98 kB / 0.9826 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.2103, allocations: 83.78 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2103, allocations: 0 / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.2103, allocations: 0 / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2104, allocations: 3.984 kB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.2106, allocations: 59.95 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.2112, allocations: 332.6 kB / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.2115, allocations: 94.47 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.2116, allocations: 28.84 kB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.2116, allocations: 4 kB / 0.9832 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.2117, allocations: 42.5 kB / 0.9832 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.2117, allocations: 0 / 0.9832 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001644/0.2133, allocations: 0.6696 MB / 0.9839 GB, free: 23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.2134, allocations: 55.41 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.201e-05/0.2134, allocations: 105.9 kB / 0.984 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.2135, allocations: 29.64 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.2135, allocations: 88.05 kB / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.2135, allocations: 39.45 kB / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.2135, allocations: 0 / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.035e-05/0.2136, allocations: 318.8 kB / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.2137, allocations: 39.98 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.2139, allocations: 32.09 kB / 0.9846 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.214, allocations: 43.98 kB / 0.9846 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.214, allocations: 0 / 0.9846 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000302/0.2143, allocations: 130.5 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2143, allocations: 4 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2144, allocations: 0 / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2144, allocations: 7.891 kB / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.2145, allocations: 27.98 kB / 0.9848 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2145, allocations: 0 / 0.9848 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/0.2146, allocations: 11.98 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.2146, allocations: 4 kB / 0.9848 GB, free: 22.04 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 6.377e-05/0.2147, allocations: 117.8 kB / 0.9849 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.2147, allocations: 7.938 kB / 0.9849 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.2151, allocations: 137.4 kB / 0.985 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2151, allocations: 4 kB / 0.985 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2151, allocations: 7.953 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2151, allocations: 0 / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.2156, allocations: 386.4 kB / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2156, allocations: 0 / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.2158, allocations: 35.97 kB / 0.9854 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/0.2158, allocations: 0 / 0.9854 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.2158, allocations: 7.953 kB / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2158, allocations: 0 / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2158, allocations: 4 kB / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.2163, allocations: 255.4 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.2163, allocations: 85.23 kB / 0.9858 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.2163, allocations: 11.94 kB / 0.9858 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.2165, allocations: 15.94 kB / 0.9858 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.2165, allocations: 7.984 kB / 0.9858 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.2165, allocations: 7.984 kB / 0.9858 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.277e-05/0.2166, allocations: 83.34 kB / 0.9859 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2166, allocations: 0 / 0.9859 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002634/0.2168, allocations: 40 kB / 0.9859 GB, free: 20.74 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.0001903/0.217, allocations: 127.2 kB / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000309/0.2173, allocations: 98.27 kB / 0.9862 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2174, allocations: 3.938 kB / 0.9862 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.2175, allocations: 47.97 kB / 0.9862 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.2178, allocations: 8 kB / 0.9862 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006211/0.2184, allocations: 377.2 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.2185, allocations: 0.6926 MB / 0.9873 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.036e-05/0.2186, allocations: 12.67 kB / 0.9873 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.2186, allocations: 11.44 kB / 0.9873 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2187, allocations: 0 / 0.9873 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of Templates: time 0.003092/0.2217, allocations: 1.081 MB / 0.9883 GB, free: 18.28 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)