Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.189/2.189, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001566, allocations: 190.3 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.298/2.298, allocations: 205.4 MB / 0.5766 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 90.36 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004443/0.0004442, allocations: 18.73 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1943, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2132/0.4075, allocations: 132.2 MB / 1.028 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003618/0.408, allocations: 79.95 kB / 1.028 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01387/0.4219, allocations: 2.841 MB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4219, allocations: 0 / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.4219, allocations: 4 kB / 1.031 GB, free: 10.21 MB / 0.6823 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.0004199/0.4224, allocations: 347.2 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.4224, allocations: 12.03 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.4225, allocations: 3.953 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.4226, allocations: 163 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.4227, allocations: 4 kB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.4227, allocations: 3.938 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.4228, allocations: 45.69 kB / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4228, allocations: 0 / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.4229, allocations: 0 / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4229, allocations: 0 / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.524e-05/0.4229, allocations: 15.98 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.4231, allocations: 157.6 kB / 1.032 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.4234, allocations: 46.55 kB / 1.032 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.4234, allocations: 4 kB / 1.032 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.4235, allocations: 34.56 kB / 1.032 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.4235, allocations: 0 / 1.032 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0007699/0.4242, allocations: 318.5 kB / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.4243, allocations: 51.41 kB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.699e-05/0.4244, allocations: 92.98 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.4244, allocations: 25.7 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.4245, allocations: 88.08 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.4245, allocations: 19.8 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.4245, allocations: 0 / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4246, allocations: 320.3 kB / 1.032 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.074e-05/0.4247, allocations: 15.94 kB / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.4247, allocations: 11.98 kB / 1.033 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.561e-05/0.4248, allocations: 12 kB / 1.033 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4248, allocations: 0 / 1.033 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001456/0.425, allocations: 65.59 kB / 1.033 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.425, allocations: 8 kB / 1.033 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.425, allocations: 0 / 1.033 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.425, allocations: 4 kB / 1.033 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.4251, allocations: 8 kB / 1.033 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.4251, allocations: 0 / 1.033 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.716e-05/0.4252, allocations: 0 / 1.033 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.4252, allocations: 8 kB / 1.033 GB, free: 8.113 MB / 0.6823 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 8.744e-05/0.4253, allocations: 113.7 kB / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.4253, allocations: 7.984 kB / 1.033 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.4255, allocations: 77.72 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4255, allocations: 0 / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.4256, allocations: 0 / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4256, allocations: 3.938 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.426, allocations: 323.3 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.426, allocations: 0 / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.4261, allocations: 8 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.4261, allocations: 0 / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.4262, allocations: 4 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.4262, allocations: 4.031 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4262, allocations: 0 / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.4264, allocations: 193.9 kB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.783e-05/0.4265, allocations: 85.14 kB / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.4266, allocations: 3.984 kB / 1.033 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.4267, allocations: 12 kB / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.4267, allocations: 3.953 kB / 1.033 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.4267, allocations: 4 kB / 1.033 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.661e-05/0.4268, allocations: 79.28 kB / 1.034 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4268, allocations: 0 / 1.034 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003463/0.4272, allocations: 31.92 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0002344/0.4274, allocations: 119.2 kB / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.4275, allocations: 35.92 kB / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4276, allocations: 4 kB / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.728e-05/0.4276, allocations: 19.94 kB / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.4278, allocations: 4 kB / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.4284, allocations: 225.9 kB / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.4287, allocations: 0.6809 MB / 1.035 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.034e-05/0.4288, allocations: 4 kB / 1.035 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.4288, allocations: 11.44 kB / 1.035 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/0.4288, allocations: 4 kB / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of Templates: time 0.003631/0.4325, allocations: 0.5913 MB / 1.035 GB, free: 5.332 MB / 0.6823 GB