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.001085/0.001085, 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.001133/0.001133, allocations: 193 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.343/1.343, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.729/1.729, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001482/0.001482, allocations: 68.45 kB / 0.6715 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2121, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002591/0.2147, allocations: 1.472 MB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.2158, allocations: 0.6315 MB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.2159, allocations: 0 / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.2159, allocations: 3.938 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.967e-05/0.216, allocations: 3.938 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005445/0.2165, allocations: 163.4 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.336e-05/0.2166, allocations: 55.78 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.2167, allocations: 4 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.857e-05/0.2167, allocations: 23.91 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.015e-05/0.2168, allocations: 27.91 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.2168, allocations: 4 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005279/0.2173, allocations: 355.2 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.2174, allocations: 11.94 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.2174, allocations: 31.84 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.2177, allocations: 167.9 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2177, allocations: 0 / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2177, allocations: 3.938 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2178, allocations: 0 / 0.7862 GB, free: 10.53 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.0005858/0.2183, allocations: 399.3 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2184, allocations: 12.03 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.2184, allocations: 12.84 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.2186, allocations: 164.4 kB / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.2186, allocations: 12.3 kB / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.2186, allocations: 8.375 kB / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.2189, allocations: 75.09 kB / 0.7869 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2189, allocations: 192 / 0.7869 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.2189, allocations: 11.94 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2189, allocations: 0 / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.2192, allocations: 55.89 kB / 0.787 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.2198, allocations: 316.6 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.2201, allocations: 82.47 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.2202, allocations: 32.84 kB / 0.7874 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.2202, allocations: 0 / 0.7874 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.2202, allocations: 34.56 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.2203, allocations: 0 / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001688/0.2219, allocations: 0.642 MB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.222, allocations: 55.41 kB / 0.7881 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.056e-05/0.2221, allocations: 105.8 kB / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.2221, allocations: 33.7 kB / 0.7882 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.2221, allocations: 92.03 kB / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.2222, allocations: 35.45 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.2222, allocations: 29.83 kB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.2223, allocations: 318.8 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.2225, allocations: 35.98 kB / 0.7887 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.2226, allocations: 39.03 kB / 0.7887 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.2229, allocations: 72.83 kB / 0.7888 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2229, allocations: 0 / 0.7888 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003317/0.2232, allocations: 117.6 kB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2232, allocations: 4 kB / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2232, allocations: 320 / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2233, allocations: 0 / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.2234, allocations: 31.92 kB / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.2234, allocations: 0 / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.355e-05/0.2235, allocations: 23.92 kB / 0.789 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.2235, allocations: 3.984 kB / 0.789 GB, free: 7.41 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.026e-05/0.2236, allocations: 114.5 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.2237, allocations: 7.906 kB / 0.7891 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003891/0.2241, allocations: 133.6 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.2241, allocations: 7.984 kB / 0.7892 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2241, allocations: 4.188 kB / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2241, allocations: 3.938 kB / 0.7892 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.2247, allocations: 382.5 kB / 0.7896 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2247, allocations: 0 / 0.7896 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.2249, allocations: 31.91 kB / 0.7896 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2249, allocations: 0 / 0.7896 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2249, allocations: 7.938 kB / 0.7897 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2249, allocations: 0 / 0.7897 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2249, allocations: 8 kB / 0.7897 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005192/0.2254, allocations: 251.3 kB / 0.7899 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.2255, allocations: 77.11 kB / 0.79 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.2255, allocations: 3.938 kB / 0.79 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.2256, allocations: 12.02 kB / 0.79 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.2257, allocations: 8.062 kB / 0.79 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.2257, allocations: 7.984 kB / 0.79 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.576e-05/0.2257, allocations: 79.28 kB / 0.7901 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2257, allocations: 0 / 0.7901 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002895/0.226, allocations: 36 kB / 0.7901 GB, free: 6.148 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 (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.0002231/0.2263, allocations: 139.1 kB / 0.7902 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.2266, allocations: 87.89 kB / 0.7903 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2266, allocations: 4 kB / 0.7903 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.2268, allocations: 43.97 kB / 0.7904 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.2272, allocations: 13.28 kB / 0.7904 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006702/0.2279, allocations: 321.5 kB / 0.7907 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.2283, allocations: 0.6963 MB / 0.7914 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.462e-05/0.2284, allocations: 20.59 kB / 0.7914 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.2284, allocations: 11.44 kB / 0.7914 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2284, allocations: 0 / 0.7914 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of Templates: time 0.003614/0.232, allocations: 1.133 MB / 0.7925 GB, free: 3.672 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (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)