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 4.676/4.676, allocations: 0.5623 GB / 0.5775 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.002444/0.002444, allocations: 361.8 kB / 0.6447 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.068/4.068, allocations: 410.7 MB / 1.113 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.001818/0.001818, allocations: 183.1 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.000486, allocations: 20 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7479/0.7484, 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.001649/0.7501, allocations: 1.184 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007103/0.7508, allocations: 351.8 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.7509, allocations: 0 / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.661e-05/0.7509, allocations: 0 / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.089e-05/0.751, allocations: 8.547 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.7514, allocations: 75.98 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.268e-05/0.7514, allocations: 47.84 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.895e-05/0.7515, allocations: 1.625 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.279e-05/0.7516, allocations: 23.92 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.716e-05/0.7516, allocations: 27.91 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.7517, allocations: 6.75 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.752, allocations: 171.6 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.752, allocations: 4 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.752, allocations: 33.64 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.7522, allocations: 77.92 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7522, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7522, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.7522, 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.0006054/0.7529, allocations: 378.3 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.7529, allocations: 15.62 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.753, allocations: 7.906 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.505e-05/0.753, allocations: 168.4 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.7531, allocations: 8.688 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.7531, allocations: 8.594 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.7535, allocations: 83.28 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.7535, allocations: 7.922 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.7535, allocations: 0 / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.7535, allocations: 5.094 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004107/0.7539, allocations: 61.53 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006192/0.7546, allocations: 327.8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/0.7551, allocations: 87.06 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.7553, allocations: 30.31 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.7553, allocations: 8.656 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.7553, allocations: 32.72 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.7554, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.002246/0.7576, allocations: 0.6757 MB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.7576, allocations: 55.41 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.462e-05/0.7577, allocations: 102.6 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.7577, allocations: 25.7 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.7578, allocations: 96.73 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.7578, allocations: 39.94 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-06/0.7578, allocations: 4.938 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.956e-05/0.7579, allocations: 310.8 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.7581, allocations: 41.16 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.7584, allocations: 37.25 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.7586, allocations: 37.62 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7586, allocations: 0 / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005402/0.7592, allocations: 127.7 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.7592, allocations: 7.984 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.7592, allocations: 2.375 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.7592, allocations: 11.89 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.7595, allocations: 23.98 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.7595, allocations: 0 / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.7596, allocations: 13 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.7597, allocations: 4 kB / 1.466 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.293e-05/0.7598, allocations: 115.7 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.7598, allocations: 4 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005771/0.7604, allocations: 134.7 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.7604, allocations: 7.547 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7604, allocations: 7.984 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.7604, allocations: 81.64 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.7605, allocations: 2.156 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.7607, allocations: 12 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.7607, allocations: 7.984 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006883/0.7614, allocations: 205.9 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008054/0.7622, allocations: 353.6 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002341/0.7625, allocations: 47.22 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.564e-05/0.7625, allocations: 83.28 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of Backend: time 5.51e-07/0.7625, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007095/0.7633, allocations: 177.1 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0007301/0.764, allocations: 0.7854 MB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.004609/0.7686, allocations: 1.264 MB / 1.469 GB, free: 276.1 MB / 0.8542 GB