Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, 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.001305/0.001305, allocations: 195.9 kB / 16.64 MB, free: 6.449 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.365/1.365, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.759/1.759, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001455/0.001456, allocations: 68.33 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.211, allocations: 114.6 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002881/0.214, allocations: 1.279 MB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.2151, allocations: 0.611 MB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.2151, allocations: 0 / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.2152, allocations: 4 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-05/0.2153, allocations: 3.938 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.2159, allocations: 147.4 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.37e-05/0.216, allocations: 23.86 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.2161, allocations: 4 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.221e-05/0.2161, allocations: 4 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.233e-05/0.2162, allocations: 15.91 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.2162, allocations: 0 / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005107/0.2167, allocations: 347.3 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.2167, allocations: 0 / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.2167, allocations: 11.92 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.217, allocations: 147.6 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.217, allocations: 3.984 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.217, allocations: 0 / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2171, allocations: 0 / 0.7867 GB, free: 10.12 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004506/0.2175, allocations: 359.4 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2175, allocations: 12.03 kB / 0.787 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.2176, allocations: 0.9375 kB / 0.787 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.2177, allocations: 168.4 kB / 0.7872 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.2177, allocations: 4.375 kB / 0.7872 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.2178, allocations: 4.375 kB / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.2179, allocations: 46.25 kB / 0.7872 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-06/0.2179, allocations: 192 / 0.7872 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.2179, allocations: 7.875 kB / 0.7872 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2179, allocations: 0 / 0.7872 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.763e-05/0.218, allocations: 8 kB / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.2182, allocations: 161.6 kB / 0.7874 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.2184, allocations: 42.61 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/0.2184, allocations: 20.94 kB / 0.7875 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.2184, allocations: 0 / 0.7875 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.2185, allocations: 38.5 kB / 0.7875 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.2185, allocations: 0 / 0.7875 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006265/0.2191, allocations: 314.4 kB / 0.7878 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.2192, allocations: 51.41 kB / 0.7878 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.734e-05/0.2192, allocations: 109.8 kB / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.2193, allocations: 25.7 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.017e-05/0.2193, allocations: 84.14 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.2193, allocations: 11.81 kB / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.2194, allocations: 21.7 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2195, allocations: 314.8 kB / 0.7884 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.2195, allocations: 8 kB / 0.7884 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.456e-05/0.2195, allocations: 23.91 kB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.522e-05/0.2196, allocations: 32.86 kB / 0.7884 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.2196, allocations: 0 / 0.7884 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00011/0.2197, allocations: 73.53 kB / 0.7885 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2198, allocations: 7.938 kB / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2198, allocations: 0 / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.2198, allocations: 0 / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.332e-05/0.2198, allocations: 12 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.2199, allocations: 0 / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.935e-05/0.2199, allocations: 3.984 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.2199, allocations: 0 / 0.7885 GB, free: 7.922 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 (7): * Single equations (assignments): 7 * 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 7.178e-05/0.22, allocations: 118.5 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.22, allocations: 3.938 kB / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.2201, allocations: 77.66 kB / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2202, allocations: 0 / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2202, allocations: 0 / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.2202, allocations: 3.984 kB / 0.7887 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.2205, allocations: 315.3 kB / 0.789 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2205, allocations: 4.031 kB / 0.789 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.451e-05/0.2206, allocations: 12 kB / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2206, allocations: 0 / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.2206, allocations: 11.94 kB / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2206, allocations: 0 / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-05/0.2207, allocations: 3.984 kB / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.2209, allocations: 180.2 kB / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.27e-05/0.2209, allocations: 85.19 kB / 0.7893 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.221, allocations: 4 kB / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.221, allocations: 4 kB / 0.7893 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.2211, allocations: 0 / 0.7893 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.2211, allocations: 8 kB / 0.7893 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.769e-05/0.2211, allocations: 79.27 kB / 0.7894 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2211, allocations: 0 / 0.7894 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002619/0.2214, allocations: 23.94 kB / 0.7894 GB, free: 6.891 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001933/0.2216, allocations: 127.2 kB / 0.7896 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.2217, allocations: 35.92 kB / 0.7896 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2217, allocations: 0 / 0.7896 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.771e-05/0.2217, allocations: 12 kB / 0.7896 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.222, allocations: 14.92 kB / 0.7896 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.2224, allocations: 212.7 kB / 0.7898 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.2227, allocations: 0.6807 MB / 0.7905 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.058e-05/0.2227, allocations: 4 kB / 0.7905 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.2228, allocations: 15.42 kB / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.2228, allocations: 4 kB / 0.7905 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of Templates: time 0.002829/0.2256, allocations: 0.6493 MB / 0.7911 GB, free: 5.125 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)