Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007483/0.0007484, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008746/0.0008751, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.585/1.585, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004844/0.0004844, allocations: 27.27 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2049, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001354/0.2063, allocations: 1.179 MB / 0.7885 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008253/0.2072, allocations: 0.5855 MB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.41e-05/0.2072, allocations: 0 / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.2072, allocations: 3.938 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.265e-05/0.2073, allocations: 3.984 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.2077, allocations: 138.4 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.17e-05/0.2078, allocations: 51.83 kB / 0.7892 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.2078, allocations: 4 kB / 0.7892 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.477e-05/0.2079, allocations: 15.98 kB / 0.7892 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.219e-05/0.2079, allocations: 31.84 kB / 0.7893 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.2079, allocations: 4 kB / 0.7893 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004271/0.2084, allocations: 327.4 kB / 0.7896 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.2084, allocations: 19.91 kB / 0.7896 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.2084, allocations: 33.7 kB / 0.7896 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.2086, allocations: 120 kB / 0.7897 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2086, allocations: 0 / 0.7897 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2086, allocations: 0 / 0.7897 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.2086, allocations: 0 / 0.7897 GB, free: 9.402 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004683/0.2091, allocations: 391.2 kB / 0.7901 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.2091, allocations: 12.03 kB / 0.7901 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.2092, allocations: 11.84 kB / 0.7901 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.788e-05/0.2093, allocations: 171 kB / 0.7903 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.2093, allocations: 7.938 kB / 0.7903 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.2093, allocations: 8 kB / 0.7903 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.2095, allocations: 77.66 kB / 0.7904 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2095, allocations: 0 / 0.7904 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.2096, allocations: 0 / 0.7904 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2096, allocations: 4 kB / 0.7904 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.2098, allocations: 67.83 kB / 0.7905 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.2103, allocations: 332.7 kB / 0.7908 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.2105, allocations: 86.47 kB / 0.7909 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.92e-05/0.2106, allocations: 37 kB / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.2107, allocations: 7.984 kB / 0.7909 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.2107, allocations: 30.56 kB / 0.7909 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.2107, allocations: 0 / 0.7909 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0014/0.2121, allocations: 0.6735 MB / 0.7916 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.2121, allocations: 59.33 kB / 0.7916 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.482e-05/0.2122, allocations: 101.9 kB / 0.7917 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.2122, allocations: 25.7 kB / 0.7918 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.2123, allocations: 96.03 kB / 0.7919 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.2123, allocations: 31.47 kB / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/0.2123, allocations: 8 kB / 0.7919 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.2124, allocations: 314.8 kB / 0.7922 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.2125, allocations: 35.98 kB / 0.7922 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.2126, allocations: 35.97 kB / 0.7923 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.2128, allocations: 43.92 kB / 0.7923 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.2128, allocations: 0 / 0.7923 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002732/0.2131, allocations: 126.7 kB / 0.7924 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.2131, allocations: 4 kB / 0.7924 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2131, allocations: 0 / 0.7924 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.2131, allocations: 3.953 kB / 0.7924 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2132, allocations: 31.98 kB / 0.7925 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.2132, allocations: 0 / 0.7925 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.2133, allocations: 19.98 kB / 0.7925 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.2133, allocations: 0 / 0.7925 GB, free: 6.289 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.804e-05/0.2134, allocations: 117.8 kB / 0.7926 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.2134, allocations: 4 kB / 0.7926 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.2138, allocations: 145.4 kB / 0.7927 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.2138, allocations: 4 kB / 0.7927 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2138, allocations: 3.953 kB / 0.7927 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2138, allocations: 0 / 0.7927 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.2143, allocations: 394.4 kB / 0.7931 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2143, allocations: 0 / 0.7931 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.2145, allocations: 31.98 kB / 0.7932 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2145, allocations: 0 / 0.7932 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.2145, allocations: 3.953 kB / 0.7932 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2145, allocations: 0 / 0.7932 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2145, allocations: 4 kB / 0.7932 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.2149, allocations: 259.7 kB / 0.7934 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.215, allocations: 85.05 kB / 0.7935 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.215, allocations: 3.938 kB / 0.7935 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.2151, allocations: 24 kB / 0.7935 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.2151, allocations: 7.984 kB / 0.7935 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.2152, allocations: 0 / 0.7935 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.2152, allocations: 79.28 kB / 0.7936 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2152, allocations: 0 / 0.7936 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000259/0.2155, allocations: 36 kB / 0.7936 GB, free: 5 MB / 0.6075 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.0001691/0.2156, allocations: 135.2 kB / 0.7938 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002853/0.2159, allocations: 101.6 kB / 0.7939 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2159, allocations: 0 / 0.7939 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.2161, allocations: 51.91 kB / 0.7939 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.2163, allocations: 12 kB / 0.7939 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000577/0.2169, allocations: 381.3 kB / 0.7943 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.2172, allocations: 0.6926 MB / 0.795 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.617e-05/0.2172, allocations: 8.672 kB / 0.795 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.2172, allocations: 11.44 kB / 0.795 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2173, allocations: 4 kB / 0.795 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of Templates: time 0.003001/0.2203, allocations: 1.073 MB / 0.796 GB, free: 2.516 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: