Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.224/5.224, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00241/0.00241, allocations: 360.6 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.926/3.926, allocations: 410.7 MB / 1.112 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001772/0.001772, allocations: 163.8 kB / 1.225 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.0004892, allocations: 12 kB / 1.348 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5803/0.5808, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001437/0.5823, allocations: 1.183 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006238/0.583, allocations: 343.3 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.583, allocations: 1.469 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.583, allocations: 7.984 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.514e-05/0.5831, allocations: 3.938 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.5835, allocations: 70.75 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.559e-05/0.5836, allocations: 51.83 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.5836, allocations: 4.5 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.285e-05/0.5837, allocations: 21.39 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.31e-05/0.5837, allocations: 23.92 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.5838, allocations: 4 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.584, allocations: 175.6 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.5841, allocations: 8.656 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.5841, allocations: 33.64 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.5842, allocations: 74.97 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.563e-06/0.5843, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.058e-06/0.5843, allocations: 1.062 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.5843, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 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.0004807/0.5848, allocations: 373.2 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.5848, allocations: 15.61 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.5849, allocations: 8.656 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.661e-05/0.585, allocations: 171 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.585, allocations: 4.656 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.5851, allocations: 10.56 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.5853, allocations: 88.72 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5854, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.5854, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-06/0.5854, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.5857, allocations: 62.39 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.5862, allocations: 336 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.5866, allocations: 87.73 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.5867, allocations: 36.83 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.5867, allocations: 3.938 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.5868, allocations: 35.19 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.253e-06/0.5868, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.001827/0.5886, allocations: 0.6736 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.5887, allocations: 55.34 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.801e-05/0.5887, allocations: 101.9 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.5888, allocations: 27.27 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.5888, allocations: 96.06 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.5889, allocations: 43.39 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.876e-06/0.5889, allocations: 5.656 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.035e-05/0.5889, allocations: 310.8 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.5891, allocations: 40.59 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.5893, allocations: 33.42 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.5894, allocations: 41.86 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5895, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003779/0.5898, allocations: 123.5 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.5899, allocations: 4 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.073e-06/0.5899, allocations: 3.953 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5899, allocations: 1.25 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.5901, allocations: 35.91 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.511e-06/0.5901, allocations: 4.484 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.5902, allocations: 12.62 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.5902, allocations: 4.047 kB / 1.465 GB, free: 279.3 MB / 0.8542 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 7.216e-05/0.5903, allocations: 113.8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.5904, allocations: 7.984 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004212/0.5908, allocations: 136 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.731e-06/0.5908, allocations: 3.953 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.299e-06/0.5908, allocations: 4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.32e-06/0.5909, allocations: 2.469 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006097/0.5915, allocations: 386.9 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.265e-06/0.5915, allocations: 0 / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.5917, allocations: 37.2 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.238e-06/0.5917, allocations: 7.891 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.5917, allocations: 0.9375 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.182e-06/0.5918, allocations: 0 / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.47e-06/0.5918, allocations: 4 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/0.5923, allocations: 251.2 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/0.5924, allocations: 93.88 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.5924, allocations: 3.953 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.5926, allocations: 12.75 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.5926, allocations: 8.984 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.5926, allocations: 7.938 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.851e-05/0.5927, allocations: 81.66 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.346e-06/0.5927, allocations: 0 / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003854/0.5931, allocations: 52.86 kB / 1.467 GB, free: 278.1 MB / 0.8542 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.0001938/0.5933, allocations: 128.2 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003782/0.5937, allocations: 99.88 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.67e-06/0.5937, allocations: 3.938 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.5939, allocations: 44.95 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.5942, allocations: 12.58 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007345/0.595, allocations: 369.9 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.5951, allocations: 0.7012 MB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.93e-05/0.5952, allocations: 12.92 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.5953, allocations: 11.44 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.508e-06/0.5953, allocations: 4 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.004009/0.5993, allocations: 1.073 MB / 1.469 GB, free: 275.7 MB / 0.8542 GB