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.001196/0.001196, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 197.5 kB / 16.64 MB, free: 6.445 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.4/1.4, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.767/1.767, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.0014/0.0014, allocations: 71.56 kB / 0.6723 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2096, allocations: 114.6 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002605/0.2123, allocations: 1.281 MB / 0.7854 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009948/0.2133, allocations: 0.6149 MB / 0.786 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.224e-05/0.2133, allocations: 4 kB / 0.786 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.2134, allocations: 3.938 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.406e-05/0.2134, allocations: 0 / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.2139, allocations: 147.4 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.284e-05/0.214, allocations: 31.86 kB / 0.7862 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.191e-05/0.2141, allocations: 4 kB / 0.7862 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.026e-05/0.2141, allocations: 15.92 kB / 0.7862 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.047e-05/0.2142, allocations: 15.98 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.2142, allocations: 0 / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000492/0.2147, allocations: 339.4 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.2147, allocations: 7.922 kB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.2148, allocations: 27.8 kB / 0.7866 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.215, allocations: 147.7 kB / 0.7867 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.215, allocations: 0 / 0.7867 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.215, allocations: 0 / 0.7867 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.215, allocations: 0 / 0.7867 GB, free: 10.14 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.0004696/0.2155, allocations: 379.3 kB / 0.7871 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.2156, allocations: 8.031 kB / 0.7871 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.2156, allocations: 4.938 kB / 0.7871 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.2157, allocations: 168.3 kB / 0.7872 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.2158, allocations: 4.375 kB / 0.7872 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.2158, allocations: 8.375 kB / 0.7872 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.2159, allocations: 54.22 kB / 0.7873 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2159, allocations: 192 / 0.7873 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.216, allocations: 7.938 kB / 0.7873 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.216, allocations: 0 / 0.7873 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.939e-05/0.216, allocations: 19.98 kB / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.2162, allocations: 165.6 kB / 0.7875 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.2163, allocations: 58.5 kB / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.2164, allocations: 32.84 kB / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.2164, allocations: 0 / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.2164, allocations: 34.56 kB / 0.7876 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.2164, allocations: 4 kB / 0.7876 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001111/0.2176, allocations: 0.5836 MB / 0.7882 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.2176, allocations: 59.41 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.262e-05/0.2177, allocations: 93.86 kB / 0.7883 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.2177, allocations: 25.7 kB / 0.7883 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.2177, allocations: 92.12 kB / 0.7884 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.2178, allocations: 39.34 kB / 0.7885 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.2178, allocations: 29.7 kB / 0.7885 GB, free: 8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.218, allocations: 310.8 kB / 0.7888 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.218, allocations: 28.02 kB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.124e-05/0.2181, allocations: 31.92 kB / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.817e-05/0.2182, allocations: 52.98 kB / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.2182, allocations: 4 kB / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001536/0.2183, allocations: 104.5 kB / 0.789 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.2183, allocations: 4 kB / 0.789 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2184, allocations: 4.312 kB / 0.789 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2184, allocations: 0 / 0.789 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.2185, allocations: 19.94 kB / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.2185, allocations: 0 / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.768e-05/0.2185, allocations: 7.984 kB / 0.789 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.2185, allocations: 3.984 kB / 0.789 GB, free: 7.426 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 8.231e-05/0.2186, allocations: 121.8 kB / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.2187, allocations: 7.938 kB / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.2189, allocations: 101.5 kB / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.2189, allocations: 0 / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2189, allocations: 4 kB / 0.7893 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2189, allocations: 3.984 kB / 0.7893 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.2193, allocations: 354.4 kB / 0.7896 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2193, allocations: 0 / 0.7896 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.2195, allocations: 27.94 kB / 0.7896 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2195, allocations: 4 kB / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.2195, allocations: 0 / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2195, allocations: 0 / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2195, allocations: 3.984 kB / 0.7896 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.2197, allocations: 215.4 kB / 0.7898 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.2198, allocations: 81.02 kB / 0.7899 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.2198, allocations: 4.031 kB / 0.7899 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/0.2199, allocations: 4 kB / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.2199, allocations: 12.05 kB / 0.7899 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.2199, allocations: 4 kB / 0.7899 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.41e-05/0.22, allocations: 79.22 kB / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.22, allocations: 0 / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002666/0.2203, allocations: 39.98 kB / 0.7901 GB, free: 6.27 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.0002042/0.2205, allocations: 131.2 kB / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.2206, allocations: 67.84 kB / 0.7903 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2206, allocations: 8.031 kB / 0.7903 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.757e-05/0.2207, allocations: 31.98 kB / 0.7903 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.2209, allocations: 14.98 kB / 0.7903 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005216/0.2215, allocations: 289.5 kB / 0.7906 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.2217, allocations: 0.6807 MB / 0.7912 GB, free: 5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.284e-05/0.2218, allocations: 12 kB / 0.7913 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.2218, allocations: 15.42 kB / 0.7913 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2218, allocations: 0 / 0.7913 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of Templates: time 0.003151/0.225, allocations: 0.9433 MB / 0.7922 GB, free: 4.066 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)