Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.687/4.687, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 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.002515/0.002514, allocations: 361.1 kB / 0.644 GB, free: 185.6 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 4.088/4.088, allocations: 410.7 MB / 1.112 GB, free: 6.012 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.001789/0.001789, allocations: 188.4 kB / 1.225 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004944, allocations: 12 kB / 1.348 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.579/0.5795, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00114/0.5807, allocations: 0.9901 MB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006027/0.5813, allocations: 360 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.5814, allocations: 1.531 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.5814, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.537e-05/0.5815, allocations: 7.969 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.5818, allocations: 72.72 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.262e-05/0.5819, allocations: 19.92 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.5819, allocations: 1.062 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.921e-05/0.582, allocations: 8 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.343e-05/0.582, allocations: 11.92 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.582, allocations: 0.6562 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.5823, allocations: 171.6 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.322e-06/0.5823, allocations: 1.406 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.5824, allocations: 29.7 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.5825, allocations: 50.05 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.721e-06/0.5825, allocations: 4.688 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5825, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.76e-06/0.5825, allocations: 0.5938 kB / 1.462 GB, free: 282.6 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002841/0.5828, allocations: 333 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.5829, allocations: 11.62 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.5829, allocations: 11.89 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.569e-05/0.583, allocations: 170.9 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.583, allocations: 1.25 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.5831, allocations: 8 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.899e-05/0.5832, allocations: 42.25 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.675e-06/0.5832, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.5832, allocations: 1.156 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-06/0.5832, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.441e-05/0.5833, allocations: 8 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.5834, allocations: 162.9 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.5836, allocations: 49.27 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.278e-05/0.5837, allocations: 20.94 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.5837, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.5837, allocations: 33.03 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.81e-06/0.5838, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0006019/0.5844, allocations: 307.1 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.5844, allocations: 56.36 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.766e-05/0.5845, allocations: 98.83 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.5845, allocations: 26.48 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.17e-05/0.5845, allocations: 88.08 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.5846, allocations: 26.14 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-06/0.5846, allocations: 4 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.5846, allocations: 314.8 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.409e-05/0.5847, allocations: 15.94 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/0.5847, allocations: 11.98 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.721e-05/0.5848, allocations: 13.5 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-06/0.5848, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001155/0.5849, allocations: 61.69 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.5849, allocations: 4 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.295e-06/0.5849, allocations: 1.781 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.585, allocations: 0 / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.585, allocations: 12 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.726e-06/0.5851, allocations: 240 / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.721e-05/0.5851, allocations: 4 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.805e-06/0.5851, allocations: 4.5 kB / 1.464 GB, free: 280.5 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 (7): * Single equations (assignments): 7 * 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.018e-05/0.5852, allocations: 119.8 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.5852, allocations: 7.906 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.5854, allocations: 73.64 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.357e-06/0.5854, allocations: 1.578 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.5854, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.866e-06/0.5854, allocations: 0.75 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.5857, allocations: 321.6 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.5857, allocations: 4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.978e-05/0.5858, allocations: 12 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.5858, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.664e-06/0.5859, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.629e-06/0.5859, allocations: 4.594 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.1e-06/0.5859, allocations: 1.031 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.5861, allocations: 181.4 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.5861, allocations: 85.98 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.5862, allocations: 7.984 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.784e-05/0.5863, allocations: 0.5625 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.5863, allocations: 4.75 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.5863, allocations: 9.203 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.43e-05/0.5863, allocations: 77.84 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.03e-07/0.5864, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000326/0.5867, allocations: 27.98 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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 (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.0001548/0.5869, allocations: 119.2 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.587, allocations: 36.42 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.719e-06/0.587, allocations: 0.6562 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.78e-05/0.5871, allocations: 19.94 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.5874, allocations: 15.56 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.5878, allocations: 218.5 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.5879, allocations: 0.684 MB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.825e-05/0.588, allocations: 4 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.588, allocations: 11.44 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.668e-06/0.588, allocations: 0 / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.00305/0.5911, allocations: 0.597 MB / 1.467 GB, free: 277.8 MB / 0.8542 GB