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.001124/0.001124, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001152/0.001152, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.35/1.35, allocations: 205.1 MB / 222.8 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.66/1.66, allocations: 292.3 MB / 0.5492 GB, free: 13.56 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.00139/0.00139, allocations: 63.34 kB / 0.6717 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2097, allocations: 114.5 MB / 0.7835 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002754/0.2125, allocations: 1.347 MB / 0.7848 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.2136, allocations: 0.6199 MB / 0.7854 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/0.2136, allocations: 0 / 0.7854 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.447e-05/0.2137, allocations: 0 / 0.7854 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.857e-05/0.2138, allocations: 7.875 kB / 0.7854 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006484/0.2144, allocations: 139 kB / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.262e-05/0.2145, allocations: 23.92 kB / 0.7856 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.2145, allocations: 4 kB / 0.7856 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.832e-05/0.2146, allocations: 11.97 kB / 0.7856 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.455e-05/0.2146, allocations: 15.92 kB / 0.7856 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.2146, allocations: 4 kB / 0.7856 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004858/0.2151, allocations: 343.3 kB / 0.786 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.2152, allocations: 7.984 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.2152, allocations: 11.88 kB / 0.786 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.2154, allocations: 108.1 kB / 0.7861 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2154, allocations: 0 / 0.7861 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2154, allocations: 4 kB / 0.7861 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2154, allocations: 0 / 0.7861 GB, free: 11.22 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.0004457/0.2159, allocations: 367.3 kB / 0.7864 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2159, allocations: 12.03 kB / 0.7864 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.216, allocations: 0.9375 kB / 0.7864 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.2161, allocations: 172.3 kB / 0.7866 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.2161, allocations: 384 / 0.7866 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.2161, allocations: 8.375 kB / 0.7866 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.2163, allocations: 58.19 kB / 0.7867 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2163, allocations: 192 / 0.7867 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2163, allocations: 7.922 kB / 0.7867 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.2163, allocations: 0 / 0.7867 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.189e-05/0.2164, allocations: 19.98 kB / 0.7867 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.2166, allocations: 169.6 kB / 0.7869 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.2167, allocations: 62.55 kB / 0.7869 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.2168, allocations: 28.8 kB / 0.787 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.2168, allocations: 4 kB / 0.787 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.2169, allocations: 30.56 kB / 0.787 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.2169, allocations: 0 / 0.787 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.00116/0.218, allocations: 0.5918 MB / 0.7876 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.2181, allocations: 51.41 kB / 0.7876 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.639e-05/0.2182, allocations: 101.8 kB / 0.7877 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.2182, allocations: 25.7 kB / 0.7877 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.2182, allocations: 84.14 kB / 0.7878 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.2183, allocations: 43.39 kB / 0.7879 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.2183, allocations: 25.84 kB / 0.7879 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.2184, allocations: 318.8 kB / 0.7882 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.321e-05/0.2185, allocations: 20 kB / 0.7882 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.598e-05/0.2185, allocations: 23.92 kB / 0.7882 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.602e-05/0.2186, allocations: 68.78 kB / 0.7883 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.2186, allocations: 0 / 0.7883 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001478/0.2188, allocations: 97.28 kB / 0.7884 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2188, allocations: 6.656 kB / 0.7884 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2188, allocations: 0 / 0.7884 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2188, allocations: 4 kB / 0.7884 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.219, allocations: 27.98 kB / 0.7884 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.219, allocations: 0 / 0.7884 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.219, allocations: 0 / 0.7884 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.219, allocations: 4 kB / 0.7884 GB, free: 8.516 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.201e-05/0.2191, allocations: 118.4 kB / 0.7885 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.2191, allocations: 7.938 kB / 0.7885 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.2193, allocations: 101.6 kB / 0.7886 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.2194, allocations: 3.938 kB / 0.7886 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2194, allocations: 4 kB / 0.7886 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2194, allocations: 0 / 0.7886 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.2198, allocations: 358.4 kB / 0.789 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2198, allocations: 4 kB / 0.789 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.2199, allocations: 23.98 kB / 0.789 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.2199, allocations: 0 / 0.789 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.2199, allocations: 4 kB / 0.789 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2199, allocations: 96 / 0.789 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.22, allocations: 3.938 kB / 0.789 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.2202, allocations: 223.6 kB / 0.7892 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.2203, allocations: 89 kB / 0.7893 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.2203, allocations: 4.031 kB / 0.7893 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.2204, allocations: 0 / 0.7893 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.2204, allocations: 7.984 kB / 0.7893 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.2204, allocations: 11.98 kB / 0.7893 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.417e-05/0.2205, allocations: 75.34 kB / 0.7894 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2205, allocations: 4.094 kB / 0.7894 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002754/0.2208, allocations: 36 kB / 0.7895 GB, free: 7.348 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.0002298/0.221, allocations: 135.1 kB / 0.7896 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001685/0.2212, allocations: 71.86 kB / 0.7897 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2212, allocations: 0 / 0.7897 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.917e-05/0.2213, allocations: 35.92 kB / 0.7897 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.2215, allocations: 10.84 kB / 0.7897 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.2221, allocations: 322.6 kB / 0.79 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.2224, allocations: 0.6885 MB / 0.7907 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.2224, allocations: 15.44 kB / 0.7907 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2224, allocations: 0 / 0.7907 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of Templates: time 0.002825/0.2252, allocations: 1.118 MB / 0.7918 GB, free: 4.898 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)