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_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 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.297/2.297, allocations: 252.6 MB / 265.2 MB, free: 5.707 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00144/0.00144, allocations: 187.7 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.4 MB / 0.5754 GB, free: 10.5 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.001157/0.001157, allocations: 88.36 kB / 0.6797 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.167e-05, allocations: 4 kB / 0.7911 GB, free: 96.64 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1896, allocations: 106.2 MB / 0.8949 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8972/1.087, allocations: 133 MB / 1.025 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/1.087, allocations: 77.7 kB / 1.025 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02149/1.109, allocations: 4.269 MB / 1.029 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.174e-06/1.109, allocations: 4 kB / 1.029 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.815e-06/1.109, allocations: 4 kB / 1.029 GB, free: 13.86 MB / 0.6511 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.0006319/1.109, allocations: 369.3 kB / 1.029 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.109, allocations: 8.031 kB / 1.029 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/1.11, allocations: 15.84 kB / 1.029 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/1.11, allocations: 163.1 kB / 1.03 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/1.11, allocations: 11.88 kB / 1.03 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/1.11, allocations: 8 kB / 1.03 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/1.11, allocations: 69.11 kB / 1.03 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.11, allocations: 0 / 1.03 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/1.11, allocations: 0 / 1.03 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/1.11, allocations: 4 kB / 1.03 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/1.11, allocations: 30.25 kB / 1.03 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007729/1.111, allocations: 330.7 kB / 1.03 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/1.111, allocations: 60.81 kB / 1.03 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.517e-05/1.111, allocations: 23.7 kB / 1.03 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/1.111, allocations: 7.969 kB / 1.03 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/1.111, allocations: 38.52 kB / 1.03 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 4.278e-06/1.111, allocations: 0 / 1.03 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.001335/1.113, allocations: 0.5664 MB / 1.031 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/1.113, allocations: 55.34 kB / 1.031 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.423e-05/1.113, allocations: 95.98 kB / 1.031 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/1.113, allocations: 29.7 kB / 1.031 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/1.113, allocations: 91.86 kB / 1.031 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/1.113, allocations: 41.94 kB / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/1.113, allocations: 0 / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.113, allocations: 322.5 kB / 1.031 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.328e-05/1.113, allocations: 18.38 kB / 1.031 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.86e-05/1.113, allocations: 30.86 kB / 1.031 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.611e-05/1.113, allocations: 21.94 kB / 1.031 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/1.113, allocations: 0 / 1.031 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002396/1.114, allocations: 103.2 kB / 1.031 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.114, allocations: 11.94 kB / 1.031 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/1.114, allocations: 0 / 1.031 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/1.114, allocations: 0 / 1.031 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/1.114, allocations: 31.92 kB / 1.031 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.114, allocations: 0 / 1.031 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/1.114, allocations: 11.48 kB / 1.031 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/1.114, allocations: 4 kB / 1.031 GB, free: 11.2 MB / 0.6511 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 () * 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 9.626e-05/1.114, allocations: 111.6 kB / 1.032 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/1.114, allocations: 3.953 kB / 1.032 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/1.115, allocations: 116.4 kB / 1.032 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.115, allocations: 8 kB / 1.032 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.115, allocations: 0 / 1.032 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.115, allocations: 0 / 1.032 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005638/1.115, allocations: 361.2 kB / 1.032 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.115, allocations: 4 kB / 1.032 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/1.116, allocations: 35.91 kB / 1.032 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/1.116, allocations: 0 / 1.032 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/1.116, allocations: 4 kB / 1.032 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/1.116, allocations: 0 / 1.032 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.116, allocations: 0 / 1.032 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/1.116, allocations: 222.6 kB / 1.032 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/1.116, allocations: 84.97 kB / 1.032 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/1.116, allocations: 4.031 kB / 1.032 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/1.116, allocations: 15.23 kB / 1.032 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/1.116, allocations: 4 kB / 1.032 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/1.117, allocations: 11.92 kB / 1.032 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.112e-05/1.117, allocations: 83.34 kB / 1.033 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.117, allocations: 3.938 kB / 1.033 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003848/1.117, allocations: 43 kB / 1.033 GB, free: 10.1 MB / 0.6511 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 () * 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.0002988/1.117, allocations: 135.3 kB / 1.033 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002193/1.118, allocations: 79.06 kB / 1.033 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.118, allocations: 0 / 1.033 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.788e-05/1.118, allocations: 36.92 kB / 1.033 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/1.118, allocations: 7.844 kB / 1.033 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006595/1.119, allocations: 246.8 kB / 1.033 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/1.119, allocations: 0.6965 MB / 1.034 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.68e-05/1.119, allocations: 12.67 kB / 1.034 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/1.119, allocations: 15.44 kB / 1.034 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of SimCode: time 6.61e-07/1.119, allocations: 0 / 1.034 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of Templates: time 0.004691/1.124, allocations: 1.017 MB / 1.035 GB, free: 7.891 MB / 0.6511 GB