Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.671/4.671, allocations: 0.5623 GB / 0.5769 GB, free: 3.375 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.002388/0.002388, 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 4.092/4.092, allocations: 410.7 MB / 1.112 GB, free: 6.137 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.001777/0.001777, allocations: 179.8 kB / 1.225 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004847, allocations: 12 kB / 1.348 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5939/0.5944, 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_dp_DerivativeCheck2): time 0.001178/0.5956, allocations: 1.002 MB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000602/0.5963, allocations: 362.9 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.806e-05/0.5963, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.5963, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.803e-05/0.5964, allocations: 7.922 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.5967, allocations: 67.95 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.7e-05/0.5968, allocations: 23.92 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.5969, allocations: 7.984 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.369e-05/0.5969, allocations: 15.92 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.653e-05/0.5969, allocations: 15.92 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.597, allocations: 4 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.5972, allocations: 167.7 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.571e-06/0.5973, allocations: 4.562 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.5973, allocations: 34.45 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.5974, allocations: 54.03 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.492e-06/0.5974, allocations: 0.7812 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.986e-06/0.5975, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.5975, allocations: 0 / 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003051/0.5978, allocations: 344.9 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.5978, allocations: 11.62 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.5979, allocations: 8.594 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.873e-05/0.598, allocations: 167 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.598, allocations: 8.5 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.598, allocations: 9.438 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.5982, allocations: 45.69 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.5982, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.5982, allocations: 4.75 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.514e-06/0.5982, allocations: 0.5625 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.448e-05/0.5983, allocations: 20.64 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.5985, allocations: 174 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.5986, allocations: 66.47 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.817e-05/0.5986, allocations: 24.86 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.5987, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.5987, allocations: 38.55 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.757e-06/0.5987, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.001181/0.5999, allocations: 0.5805 MB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.5999, allocations: 59.39 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.118e-05/0.6, allocations: 94.73 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.6, allocations: 29.7 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.863e-05/0.6001, allocations: 81.14 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.6001, allocations: 35.45 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-06/0.6001, allocations: 4.969 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.6002, allocations: 318.8 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-05/0.6002, allocations: 25.3 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.884e-05/0.6003, allocations: 23.92 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.187e-05/0.6004, allocations: 24 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-06/0.6004, allocations: 4.594 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001719/0.6006, allocations: 93.31 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.6006, allocations: 9.188 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.241e-06/0.6006, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.6006, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.6008, allocations: 25.55 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.839e-06/0.6008, allocations: 4 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.269e-05/0.6008, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.6008, allocations: 4 kB / 1.465 GB, free: 280.1 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 6.497e-05/0.6009, allocations: 119.1 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.601, allocations: 8.984 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.6012, allocations: 109.2 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.986e-06/0.6012, allocations: 4 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.084e-06/0.6012, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.011e-06/0.6012, allocations: 4 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.6016, allocations: 354.4 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.121e-06/0.6016, allocations: 0.875 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.6018, allocations: 23.98 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.024e-06/0.6018, allocations: 0.625 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.6018, allocations: 4 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.891e-06/0.6018, allocations: 1.656 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.785e-06/0.6018, allocations: 0 / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.6021, allocations: 225.6 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.381e-05/0.6021, allocations: 86.05 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.6022, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.6023, allocations: 4.031 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.6023, allocations: 8.672 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.6023, allocations: 10.78 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.35e-05/0.6024, allocations: 75.28 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.44e-07/0.6024, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003497/0.6027, allocations: 35.94 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0001872/0.6029, allocations: 127.2 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001669/0.6031, allocations: 70.25 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6031, allocations: 0 / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.149e-05/0.6032, allocations: 35.92 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.6035, allocations: 13.08 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005886/0.6041, allocations: 328.3 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.6043, allocations: 0.6919 MB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.122e-05/0.6043, allocations: 19.33 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.6044, allocations: 15.44 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.443e-06/0.6044, allocations: 0.6875 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.003628/0.608, allocations: 0.8841 MB / 1.468 GB, free: 276.9 MB / 0.8542 GB