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.001488/0.001493, allocations: 108.7 kB / 16.35 MB, free: 5.879 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.001683/0.001683, allocations: 192.4 kB / 17.28 MB, free: 5.516 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.38/1.38, allocations: 205.1 MB / 223.2 MB, free: 4.488 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.701/1.701, allocations: 292.3 MB / 0.5496 GB, free: 12.73 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.001435/0.001435, allocations: 67.88 kB / 0.6729 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.202, allocations: 114.6 MB / 0.7848 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002785/0.2048, allocations: 1.48 MB / 0.7862 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.2061, allocations: 0.6238 MB / 0.7868 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.2062, allocations: 3.938 kB / 0.7868 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.929e-05/0.2062, allocations: 0 / 0.7868 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.293e-05/0.2063, allocations: 7.875 kB / 0.7869 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007829/0.2071, allocations: 162.4 kB / 0.787 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.2072, allocations: 51.84 kB / 0.7871 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.584e-05/0.2073, allocations: 7.938 kB / 0.7871 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.897e-05/0.2074, allocations: 27.91 kB / 0.7871 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.917e-05/0.2074, allocations: 23.91 kB / 0.7871 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.2075, allocations: 4 kB / 0.7871 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006177/0.2081, allocations: 347.3 kB / 0.7874 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.2081, allocations: 15.94 kB / 0.7875 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.2082, allocations: 27.91 kB / 0.7875 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.2085, allocations: 179.5 kB / 0.7877 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2085, allocations: 0 / 0.7877 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2085, allocations: 0 / 0.7877 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.2086, allocations: 0 / 0.7877 GB, free: 9.789 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.0006371/0.2092, allocations: 395.3 kB / 0.788 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.2092, allocations: 15.97 kB / 0.7881 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.2093, allocations: 4.844 kB / 0.7881 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.2094, allocations: 172.3 kB / 0.7882 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.2095, allocations: 12.38 kB / 0.7882 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.2095, allocations: 8.375 kB / 0.7882 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.2097, allocations: 78.22 kB / 0.7883 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.2098, allocations: 192 / 0.7883 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.2098, allocations: 7.922 kB / 0.7883 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2098, allocations: 4 kB / 0.7883 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.21, allocations: 47.95 kB / 0.7884 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.2106, allocations: 328.6 kB / 0.7887 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.2109, allocations: 74.53 kB / 0.7888 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.211, allocations: 28.84 kB / 0.7888 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.2111, allocations: 3.938 kB / 0.7888 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.2111, allocations: 42.55 kB / 0.7888 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.2111, allocations: 0 / 0.7888 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.00164/0.2127, allocations: 0.6462 MB / 0.7895 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.2128, allocations: 55.39 kB / 0.7895 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.81e-05/0.2129, allocations: 105.8 kB / 0.7896 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.2129, allocations: 25.7 kB / 0.7896 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.2129, allocations: 92.03 kB / 0.7897 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.213, allocations: 39.45 kB / 0.7898 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.213, allocations: 33.7 kB / 0.7898 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.2131, allocations: 318.8 kB / 0.7901 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.2133, allocations: 27.98 kB / 0.7901 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.2134, allocations: 35.97 kB / 0.7902 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.2136, allocations: 79.52 kB / 0.7902 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2137, allocations: 0 / 0.7902 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003084/0.214, allocations: 121.7 kB / 0.7904 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.214, allocations: 4 kB / 0.7904 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.214, allocations: 0 / 0.7904 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.214, allocations: 0 / 0.7904 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.2142, allocations: 27.98 kB / 0.7904 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.2142, allocations: 4 kB / 0.7904 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.2143, allocations: 7.922 kB / 0.7904 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.2143, allocations: 7.938 kB / 0.7904 GB, free: 6.668 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.367e-05/0.2144, allocations: 122.4 kB / 0.7905 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.2144, allocations: 12 kB / 0.7905 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003695/0.2148, allocations: 125.5 kB / 0.7907 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2148, allocations: 0 / 0.7907 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2148, allocations: 4 kB / 0.7907 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.2148, allocations: 3.938 kB / 0.7907 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005879/0.2154, allocations: 382.7 kB / 0.791 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2154, allocations: 0 / 0.791 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.2156, allocations: 27.97 kB / 0.7911 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.2156, allocations: 4 kB / 0.7911 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2156, allocations: 3.938 kB / 0.7911 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2156, allocations: 0 / 0.7911 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2156, allocations: 0 / 0.7911 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004918/0.2161, allocations: 259.5 kB / 0.7913 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.2162, allocations: 85.12 kB / 0.7914 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.2162, allocations: 7.938 kB / 0.7914 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.2164, allocations: 7.984 kB / 0.7914 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.2164, allocations: 4 kB / 0.7914 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.2164, allocations: 7.984 kB / 0.7914 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.674e-05/0.2164, allocations: 83.28 kB / 0.7915 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2164, allocations: 0 / 0.7915 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002859/0.2167, allocations: 32.06 kB / 0.7915 GB, free: 5.41 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.0002116/0.217, allocations: 143.1 kB / 0.7917 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003142/0.2173, allocations: 83.89 kB / 0.7917 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2173, allocations: 0 / 0.7917 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.2174, allocations: 47.91 kB / 0.7918 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.2178, allocations: 10.84 kB / 0.7918 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006468/0.2184, allocations: 317.5 kB / 0.7921 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.2186, allocations: 0.6924 MB / 0.7928 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.448e-05/0.2187, allocations: 20.59 kB / 0.7928 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.2188, allocations: 11.44 kB / 0.7928 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.2188, allocations: 0 / 0.7928 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of Templates: time 0.003711/0.2225, allocations: 1.133 MB / 0.7939 GB, free: 2.938 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)