Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 288.3 MB / 303.2 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 187.5 kB / 371.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009431/0.000943, allocations: 101.5 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003803, allocations: 20.34 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2108, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001551/0.2124, allocations: 1.173 MB / 0.9806 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005656/0.213, allocations: 340.2 kB / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.2131, allocations: 0 / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.2131, allocations: 0 / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.797e-05/0.2132, allocations: 19.91 kB / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.2135, allocations: 75.77 kB / 0.981 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.075e-05/0.2136, allocations: 27.72 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.384e-05/0.2136, allocations: 11.94 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.635e-05/0.2137, allocations: 23.91 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.92e-05/0.2137, allocations: 19.92 kB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.2138, allocations: 4 kB / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.214, allocations: 183.7 kB / 0.9812 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.214, allocations: 11.98 kB / 0.9813 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.214, allocations: 41.64 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.2142, allocations: 72.11 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2142, allocations: 0 / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2142, allocations: 0 / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.2142, allocations: 0 / 0.9814 GB, free: 25.68 MB / 0.6198 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.0004799/0.2147, allocations: 375.2 kB / 0.9817 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.2147, allocations: 16.02 kB / 0.9817 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.2148, allocations: 7.906 kB / 0.9817 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.713e-05/0.2149, allocations: 167 kB / 0.9819 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.2149, allocations: 4 kB / 0.9819 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.2149, allocations: 7.984 kB / 0.9819 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.2152, allocations: 81.59 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2152, allocations: 3.938 kB / 0.982 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.2152, allocations: 8 kB / 0.982 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2152, allocations: 4 kB / 0.982 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.2154, allocations: 59.89 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.2159, allocations: 328.6 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.2162, allocations: 86.53 kB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.2162, allocations: 8.156 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.2162, allocations: 34.55 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.2162, allocations: 0 / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001493/0.2177, allocations: 0.6656 MB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.2178, allocations: 55.5 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.609e-05/0.2178, allocations: 113.7 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.2179, allocations: 25.7 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.2179, allocations: 96.05 kB / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.2179, allocations: 39.44 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.218, allocations: 4 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.849e-05/0.218, allocations: 314.8 kB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.2181, allocations: 39.98 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.2183, allocations: 36.09 kB / 0.9838 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.2184, allocations: 37.25 kB / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.2184, allocations: 0 / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002813/0.2187, allocations: 129.5 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2187, allocations: 4 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2187, allocations: 0 / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.2187, allocations: 4 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.2189, allocations: 31.88 kB / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2189, allocations: 0 / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-05/0.219, allocations: 16 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.219, allocations: 3.984 kB / 0.9841 GB, free: 22.62 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.875e-05/0.2191, allocations: 113.8 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.2191, allocations: 4 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/0.2195, allocations: 145.3 kB / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2195, allocations: 4 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2195, allocations: 3.953 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.2195, allocations: 3.984 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004502/0.2199, allocations: 386.7 kB / 0.9847 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.22, allocations: 0 / 0.9847 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.2201, allocations: 39.92 kB / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2201, allocations: 0 / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.2201, allocations: 7.938 kB / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2201, allocations: 4 kB / 0.9847 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2201, allocations: 0 / 0.9847 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/0.2206, allocations: 252.4 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.2206, allocations: 88.98 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.2206, allocations: 0 / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.2208, allocations: 15.94 kB / 0.9851 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.2208, allocations: 12.06 kB / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.2208, allocations: 3.938 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.467e-05/0.2208, allocations: 83.27 kB / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2208, allocations: 3.938 kB / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002616/0.2211, allocations: 40 kB / 0.9852 GB, free: 21.33 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001911/0.2213, allocations: 135.1 kB / 0.9853 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002955/0.2216, allocations: 91.95 kB / 0.9854 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2216, allocations: 0 / 0.9854 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.2218, allocations: 51.91 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.222, allocations: 6.844 kB / 0.9855 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000594/0.2226, allocations: 373.4 kB / 0.9858 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.2227, allocations: 0.7004 MB / 0.9865 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.797e-05/0.2228, allocations: 12.66 kB / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.2228, allocations: 15.42 kB / 0.9866 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2228, allocations: 0 / 0.9866 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.003106/0.2259, allocations: 1.068 MB / 0.9876 GB, free: 18.87 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)