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.001185/0.001185, allocations: 108 kB / 15.61 MB, free: 152 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.001254/0.001254, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.395/1.395, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.691/1.691, allocations: 292.3 MB / 0.5488 GB, free: 12.86 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.001478/0.001478, allocations: 72.69 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.21, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002355/0.2124, allocations: 1.276 MB / 0.7846 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009952/0.2134, allocations: 0.6111 MB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.163e-05/0.2134, allocations: 4 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.2135, allocations: 3.938 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/0.2135, allocations: 11.86 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.214, allocations: 153.9 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.273e-05/0.2141, allocations: 31.91 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.2142, allocations: 0 / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.64e-05/0.2142, allocations: 12 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.037e-05/0.2142, allocations: 11.92 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.2143, allocations: 4 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005051/0.2148, allocations: 347.3 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.2148, allocations: 11.98 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.2148, allocations: 11.88 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.2151, allocations: 156 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2151, allocations: 0 / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2151, allocations: 3.938 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.2151, allocations: 0 / 0.7859 GB, free: 10.86 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.0005053/0.2156, allocations: 371.3 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2157, allocations: 12.03 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.2157, allocations: 4.938 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.2159, allocations: 164.3 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.2159, allocations: 4.375 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.2159, allocations: 8.375 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.2161, allocations: 62.16 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.2161, allocations: 192 / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.2161, allocations: 3.938 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2161, allocations: 0 / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.687e-05/0.2162, allocations: 19.98 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.2164, allocations: 173.6 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.2165, allocations: 54.56 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.2166, allocations: 36.78 kB / 0.7868 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.2166, allocations: 0 / 0.7868 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2166, allocations: 30.56 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.385e-06/0.2167, allocations: 3.984 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001236/0.2179, allocations: 0.5889 MB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.2179, allocations: 55.41 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.361e-05/0.218, allocations: 89.86 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.2181, allocations: 37.83 kB / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.2181, allocations: 84.12 kB / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.2181, allocations: 35.41 kB / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.2182, allocations: 29.7 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2183, allocations: 314.8 kB / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.684e-05/0.2184, allocations: 19.98 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-05/0.2184, allocations: 27.98 kB / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.943e-05/0.2185, allocations: 56.3 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.2186, allocations: 4 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001636/0.2187, allocations: 105.5 kB / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2187, allocations: 4 kB / 0.7883 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.2188, allocations: 7.938 kB / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.2188, allocations: 0 / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.2189, allocations: 16 kB / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2189, allocations: 3.984 kB / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.808e-05/0.2189, allocations: 8 kB / 0.7883 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.219, allocations: 0 / 0.7883 GB, free: 8.148 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 9.7e-05/0.2191, allocations: 121.8 kB / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.2191, allocations: 7.938 kB / 0.7884 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.2193, allocations: 97.64 kB / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2193, allocations: 0 / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2193, allocations: 4 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2193, allocations: 3.984 kB / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.2197, allocations: 358.3 kB / 0.7889 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.2198, allocations: 4 kB / 0.7889 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.2199, allocations: 20 kB / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2199, allocations: 4 kB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.2199, allocations: 0 / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2199, allocations: 0 / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.2199, allocations: 7.984 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.2202, allocations: 215.3 kB / 0.7891 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.2202, allocations: 81.02 kB / 0.7892 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.2202, allocations: 8.125 kB / 0.7892 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-05/0.2203, allocations: 8 kB / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.2204, allocations: 7.984 kB / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.2204, allocations: 8 kB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.703e-05/0.2204, allocations: 75.28 kB / 0.7893 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2204, allocations: 0 / 0.7893 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002683/0.2207, allocations: 35.98 kB / 0.7893 GB, free: 6.992 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.0001922/0.2209, allocations: 131.2 kB / 0.7894 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.2211, allocations: 71.84 kB / 0.7895 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.2211, allocations: 4.094 kB / 0.7895 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.617e-05/0.2212, allocations: 36.3 kB / 0.7895 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.2214, allocations: 10.84 kB / 0.7895 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.2219, allocations: 293.1 kB / 0.7898 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.2222, allocations: 0.6846 MB / 0.7905 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.621e-05/0.2222, allocations: 15.97 kB / 0.7905 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.2223, allocations: 11.44 kB / 0.7905 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.2223, allocations: 0 / 0.7905 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of Templates: time 0.003355/0.2256, allocations: 0.939 MB / 0.7914 GB, free: 4.785 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)