Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001642, allocations: 191.1 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 292.2 MB / 0.5485 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 68.14 kB / 0.671 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2198, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002471/0.2223, allocations: 1.352 MB / 0.7842 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.2233, allocations: 0.6161 MB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.2233, allocations: 0 / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.2233, allocations: 0 / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.403e-05/0.2234, allocations: 0 / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.2239, allocations: 132.6 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.259e-05/0.224, allocations: 31.8 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.744e-05/0.224, allocations: 4 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.28e-05/0.224, allocations: 11.97 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.174e-05/0.2241, allocations: 19.92 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.2241, allocations: 4 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004265/0.2245, allocations: 347.3 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.2246, allocations: 4 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.2246, allocations: 15.88 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.2249, allocations: 152 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2249, allocations: 0 / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2249, allocations: 0 / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.2249, allocations: 3.938 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004169/0.2253, allocations: 371.3 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.2253, allocations: 16.03 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.2254, allocations: 0.9375 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.2255, allocations: 168.3 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2255, allocations: 8.375 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.2256, allocations: 4.375 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.2257, allocations: 46.25 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2257, allocations: 4.188 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.2257, allocations: 3.938 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.2257, allocations: 0 / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.943e-05/0.2258, allocations: 27.92 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.2259, allocations: 165.6 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.2261, allocations: 58.55 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.2261, allocations: 24.86 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.2261, allocations: 4 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.2262, allocations: 30.56 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.2262, allocations: 4 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001117/0.2273, allocations: 0.5878 MB / 0.7869 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.2273, allocations: 55.34 kB / 0.787 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.485e-05/0.2274, allocations: 101.8 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.2275, allocations: 29.7 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.2275, allocations: 80.14 kB / 0.7872 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.2275, allocations: 43.38 kB / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.2276, allocations: 29.72 kB / 0.7873 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2277, allocations: 318.8 kB / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-05/0.2277, allocations: 20.09 kB / 0.7876 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.2278, allocations: 30.92 kB / 0.7876 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.152e-05/0.2279, allocations: 52.84 kB / 0.7877 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.2279, allocations: 4.125 kB / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001332/0.228, allocations: 101.5 kB / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.2281, allocations: 7.938 kB / 0.7878 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2281, allocations: 0 / 0.7878 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2281, allocations: 0 / 0.7878 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.84e-05/0.2282, allocations: 27.92 kB / 0.7878 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2282, allocations: 0 / 0.7878 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.584e-05/0.2282, allocations: 4 kB / 0.7878 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2282, allocations: 4 kB / 0.7878 GB, free: 8.504 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.376e-05/0.2283, allocations: 117.8 kB / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.2283, allocations: 3.938 kB / 0.7879 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.2285, allocations: 105.6 kB / 0.788 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2285, allocations: 0 / 0.788 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2285, allocations: 4 kB / 0.788 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2286, allocations: 0 / 0.788 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.2289, allocations: 362.3 kB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2289, allocations: 0 / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.2291, allocations: 23.98 kB / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.2291, allocations: 4 kB / 0.7884 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.2291, allocations: 0 / 0.7884 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.2291, allocations: 3.984 kB / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2291, allocations: 0 / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.2293, allocations: 215.4 kB / 0.7886 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.2294, allocations: 81.02 kB / 0.7887 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.2294, allocations: 11.92 kB / 0.7887 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/0.2295, allocations: 8.094 kB / 0.7887 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.2295, allocations: 4 kB / 0.7887 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.2295, allocations: 3.984 kB / 0.7887 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.988e-05/0.2296, allocations: 83.28 kB / 0.7888 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2296, allocations: 0 / 0.7888 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002633/0.2298, allocations: 32 kB / 0.7888 GB, free: 7.352 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001944/0.23, allocations: 139.1 kB / 0.789 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.2302, allocations: 75.33 kB / 0.789 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2302, allocations: 4 kB / 0.789 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.901e-05/0.2303, allocations: 35.86 kB / 0.7891 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.2305, allocations: 14.78 kB / 0.7891 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005158/0.2311, allocations: 293 kB / 0.7894 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.2313, allocations: 0.6924 MB / 0.79 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.606e-05/0.2314, allocations: 4 kB / 0.79 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.2314, allocations: 11.44 kB / 0.7901 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2314, allocations: 3.938 kB / 0.7901 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of Templates: time 0.002948/0.2344, allocations: 0.9304 MB / 0.791 GB, free: 5.137 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)