Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.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.7.0.x_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.005178/0.005178, allocations: 106.2 kB / 15.74 MB, free: 6 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.001313/0.001312, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.374/1.374, allocations: 205.1 MB / 222.5 MB, free: 4.352 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.536/1.536, allocations: 251.7 MB / 0.5094 GB, free: 3.043 MB / 414.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.001316/0.001316, allocations: 71.91 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.197, allocations: 104.7 MB / 0.828 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002706/0.1998, allocations: 1.477 MB / 0.8295 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.201, allocations: 0.6305 MB / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.707e-05/0.2011, allocations: 0 / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.953e-05/0.2011, allocations: 7.938 kB / 0.8301 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.36e-05/0.2012, allocations: 11.91 kB / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007587/0.202, allocations: 159.4 kB / 0.8303 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.252e-05/0.2021, allocations: 47.89 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.516e-05/0.2021, allocations: 4 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.988e-05/0.2022, allocations: 23.92 kB / 0.8303 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.2023, allocations: 31.84 kB / 0.8304 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.2023, allocations: 7.938 kB / 0.8304 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005322/0.2028, allocations: 343.3 kB / 0.8307 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.2029, allocations: 15.97 kB / 0.8307 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.2029, allocations: 27.88 kB / 0.8308 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.2032, allocations: 175.5 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2033, allocations: 4 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2033, allocations: 0 / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2033, allocations: 0 / 0.8309 GB, free: 13.27 MB / 0.6544 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.0006518/0.2039, allocations: 403.2 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.204, allocations: 8.031 kB / 0.8313 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.204, allocations: 4.938 kB / 0.8313 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.2042, allocations: 176.2 kB / 0.8315 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.2042, allocations: 4.375 kB / 0.8315 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.2042, allocations: 8.375 kB / 0.8315 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.2045, allocations: 81.34 kB / 0.8316 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.2045, allocations: 192 / 0.8316 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.2045, allocations: 3.938 kB / 0.8316 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2046, allocations: 0 / 0.8316 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.2048, allocations: 55.89 kB / 0.8316 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.2053, allocations: 324.6 kB / 0.8319 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.2056, allocations: 86.45 kB / 0.832 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.2058, allocations: 32.83 kB / 0.8321 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.2058, allocations: 8 kB / 0.8321 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.2058, allocations: 30.56 kB / 0.8321 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.2058, allocations: 0 / 0.8321 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.001706/0.2075, allocations: 0.6424 MB / 0.8327 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.2076, allocations: 55.34 kB / 0.8328 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.759e-05/0.2077, allocations: 105.8 kB / 0.8329 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.2077, allocations: 25.7 kB / 0.8329 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.543e-05/0.2077, allocations: 95.98 kB / 0.833 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.2078, allocations: 35.45 kB / 0.833 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.2079, allocations: 29.72 kB / 0.8331 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.208, allocations: 322.8 kB / 0.8334 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.2081, allocations: 32.09 kB / 0.8334 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.2082, allocations: 31.98 kB / 0.8334 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.2085, allocations: 76.77 kB / 0.8335 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2085, allocations: 0 / 0.8335 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002975/0.2088, allocations: 116.5 kB / 0.8336 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2088, allocations: 4 kB / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2088, allocations: 3.984 kB / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.2089, allocations: 4 kB / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.209, allocations: 23.98 kB / 0.8336 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.209, allocations: 3.984 kB / 0.8336 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.168e-05/0.2091, allocations: 15.88 kB / 0.8337 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.2091, allocations: 8 kB / 0.8337 GB, free: 10.14 MB / 0.6544 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.218e-05/0.2092, allocations: 113.8 kB / 0.8338 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.2092, allocations: 7.906 kB / 0.8338 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/0.2096, allocations: 133.6 kB / 0.8339 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.2096, allocations: 0 / 0.8339 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.2096, allocations: 0 / 0.8339 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2096, allocations: 3.938 kB / 0.8339 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005492/0.2102, allocations: 390.6 kB / 0.8343 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.2102, allocations: 0 / 0.8343 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.2104, allocations: 23.98 kB / 0.8343 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2104, allocations: 0 / 0.8343 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.2104, allocations: 15.88 kB / 0.8343 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2104, allocations: 0 / 0.8343 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2104, allocations: 3.938 kB / 0.8343 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.2109, allocations: 247.3 kB / 0.8346 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.2109, allocations: 81.02 kB / 0.8346 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.2109, allocations: 15.95 kB / 0.8347 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.2111, allocations: 4 kB / 0.8347 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.2111, allocations: 8.172 kB / 0.8347 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.2111, allocations: 8 kB / 0.8347 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.907e-05/0.2112, allocations: 79.27 kB / 0.8348 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2112, allocations: 0 / 0.8348 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002837/0.2115, allocations: 51.98 kB / 0.8348 GB, free: 8.875 MB / 0.6544 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.0002349/0.2117, allocations: 135.1 kB / 0.8349 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002932/0.212, allocations: 79.94 kB / 0.835 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.212, allocations: 4 kB / 0.835 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.2122, allocations: 43.92 kB / 0.8351 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.2125, allocations: 14.95 kB / 0.8351 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006188/0.2131, allocations: 305.6 kB / 0.8354 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.2134, allocations: 0.6961 MB / 0.836 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.382e-05/0.2134, allocations: 16.61 kB / 0.8361 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.2135, allocations: 11.44 kB / 0.8361 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.2135, allocations: 0 / 0.8361 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.003745/0.2172, allocations: 1.151 MB / 0.8372 GB, free: 6.414 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)