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.331/2.331, 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.00231/0.00231, allocations: 186.8 kB / 325.6 MB, free: 2.836 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.646/2.646, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001677/0.001677, allocations: 97.67 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004632/0.0004631, allocations: 17.44 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2477, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001394/0.2491, allocations: 0.9999 MB / 0.8999 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006448/0.2498, allocations: 309.2 kB / 0.9002 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.2499, allocations: 0 / 0.9002 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.2499, allocations: 0 / 0.9002 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.839e-05/0.2499, allocations: 3.984 kB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.2503, allocations: 71.72 kB / 0.9002 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.917e-05/0.2504, allocations: 19.92 kB / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.2505, allocations: 3.984 kB / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.485e-05/0.2505, allocations: 11.92 kB / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.06e-05/0.2506, allocations: 7.938 kB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.2506, allocations: 0 / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.2509, allocations: 179.7 kB / 0.9004 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.251, allocations: 11.94 kB / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.251, allocations: 25.7 kB / 0.9005 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.2512, allocations: 51.94 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.2512, allocations: 0 / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2512, allocations: 4 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2512, allocations: 0 / 0.9005 GB, free: 63.8 MB / 0.6042 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.0003259/0.2515, allocations: 339.5 kB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2516, allocations: 8.031 kB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.2516, allocations: 3.984 kB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.878e-05/0.2517, allocations: 171 kB / 0.901 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.2518, allocations: 4 kB / 0.901 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.2518, allocations: 4 kB / 0.901 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.2519, allocations: 41.69 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2519, allocations: 0 / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2519, allocations: 7.875 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.252, allocations: 0 / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.05e-05/0.252, allocations: 11.98 kB / 0.9011 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.2522, allocations: 165.5 kB / 0.9013 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.2524, allocations: 42.61 kB / 0.9013 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.2524, allocations: 8.078 kB / 0.9013 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.2525, allocations: 30.56 kB / 0.9013 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.2525, allocations: 0 / 0.9013 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0006374/0.2531, allocations: 306.2 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.2532, allocations: 51.41 kB / 0.9017 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.028e-05/0.2532, allocations: 101.8 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.2532, allocations: 29.7 kB / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.915e-05/0.2533, allocations: 84.14 kB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.2533, allocations: 23.64 kB / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.2533, allocations: 0 / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.254e-05/0.2534, allocations: 322.8 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.452e-05/0.2534, allocations: 8 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.259e-05/0.2535, allocations: 16 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.082e-05/0.2535, allocations: 12 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2535, allocations: 0 / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001191/0.2537, allocations: 69.77 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2537, allocations: 12 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2537, allocations: 0 / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2537, allocations: 3.938 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.2538, allocations: 11.98 kB / 0.9023 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2539, allocations: 4 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.2539, allocations: 0 / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.2539, allocations: 0 / 0.9023 GB, free: 61.68 MB / 0.6042 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.254, allocations: 117.8 kB / 0.9025 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.254, allocations: 0 / 0.9025 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.2542, allocations: 77.58 kB / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2542, allocations: 4 kB / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2542, allocations: 0 / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2542, allocations: 0 / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.2545, allocations: 319.3 kB / 0.9028 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2546, allocations: 0 / 0.9028 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.2547, allocations: 19.92 kB / 0.9029 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2547, allocations: 0 / 0.9029 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.2547, allocations: 4 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2547, allocations: 4.031 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2547, allocations: 0 / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.2549, allocations: 186.1 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.255, allocations: 81.09 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.255, allocations: 4.031 kB / 0.9031 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-05/0.2551, allocations: 4.188 kB / 0.9031 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.2552, allocations: 16.05 kB / 0.9031 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.2552, allocations: 8.469 kB / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.647e-05/0.2552, allocations: 79.28 kB / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2552, allocations: 0 / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003228/0.2556, allocations: 20 kB / 0.9032 GB, free: 60.64 MB / 0.6042 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.0002003/0.2558, allocations: 123.2 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001216/0.2559, allocations: 31.98 kB / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2559, allocations: 4 kB / 0.9034 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.912e-05/0.256, allocations: 19.92 kB / 0.9034 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.2562, allocations: 4.812 kB / 0.9034 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004779/0.2566, allocations: 226.1 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.2568, allocations: 0.6848 MB / 0.9043 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.78e-05/0.2569, allocations: 7.922 kB / 0.9043 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.2569, allocations: 11.44 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of SimCode: time 6.72e-07/0.2569, allocations: 3.938 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.003361/0.2603, allocations: 0.6114 MB / 0.9049 GB, free: 58.88 MB / 0.6042 GB