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_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 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.625/2.625, allocations: 287.9 MB / 302.9 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 173 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 0.6301 GB, free: 10.34 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 90.42 kB / 0.7434 GB, free: 6.363 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004561, allocations: 19.34 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1568, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001153/0.158, allocations: 0.9882 MB / 0.9797 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005385/0.1586, allocations: 325.8 kB / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.152e-05/0.1586, allocations: 0 / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.1586, allocations: 0 / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.845e-05/0.1587, allocations: 3.984 kB / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.159, allocations: 59.8 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.396e-05/0.1591, allocations: 19.95 kB / 0.9801 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.1591, allocations: 4 kB / 0.9801 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.956e-05/0.1591, allocations: 7.938 kB / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.276e-05/0.1592, allocations: 7.984 kB / 0.9801 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1592, allocations: 4 kB / 0.9801 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.1595, allocations: 179.7 kB / 0.9803 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.469e-06/0.1595, allocations: 4 kB / 0.9803 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.1596, allocations: 29.7 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.1597, allocations: 56.16 kB / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.148e-06/0.1597, allocations: 3.938 kB / 0.9804 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.825e-06/0.1597, allocations: 0 / 0.9804 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.1597, allocations: 0 / 0.9804 GB, free: 26.48 MB / 0.6198 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.0002802/0.16, allocations: 335.3 kB / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1601, allocations: 23.95 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.1601, allocations: 0 / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.503e-05/0.1602, allocations: 167 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1602, allocations: 8 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.1603, allocations: 3.984 kB / 0.9809 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.285e-05/0.1604, allocations: 37.7 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.57e-06/0.1604, allocations: 0 / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.64e-06/0.1604, allocations: 0 / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.1604, allocations: 3.984 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.143e-05/0.1605, allocations: 8 kB / 0.981 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.1606, allocations: 165.6 kB / 0.9811 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.1608, allocations: 42.55 kB / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.1608, allocations: 0 / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.1609, allocations: 34.56 kB / 0.9812 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.705e-06/0.1609, allocations: 0 / 0.9812 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0006112/0.1615, allocations: 322.3 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.1615, allocations: 51.41 kB / 0.9815 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.591e-05/0.1616, allocations: 94.19 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.1616, allocations: 29.7 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.008e-05/0.1616, allocations: 80.14 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.1617, allocations: 23.7 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-06/0.1617, allocations: 0 / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.922e-05/0.1618, allocations: 314.8 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.309e-05/0.1618, allocations: 19.94 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.759e-05/0.1618, allocations: 15.98 kB / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.66e-05/0.1619, allocations: 8 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-06/0.1619, allocations: 0 / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001168/0.162, allocations: 65.59 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.162, allocations: 4 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.505e-06/0.1621, allocations: 3.938 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1621, allocations: 4.188 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-05/0.1622, allocations: 12 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.483e-06/0.1622, allocations: 0 / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.1622, allocations: 4.062 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.1622, allocations: 11.98 kB / 0.9822 GB, free: 24.37 MB / 0.6198 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 5.737e-05/0.1623, allocations: 117.7 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.1623, allocations: 7.984 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.1625, allocations: 69.59 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.1625, allocations: 0 / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/0.1625, allocations: 0 / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.572e-06/0.1625, allocations: 3.984 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.1628, allocations: 323.4 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.831e-06/0.1628, allocations: 0 / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.79e-05/0.1629, allocations: 8 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.279e-06/0.1629, allocations: 0 / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.163, allocations: 4 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.568e-06/0.163, allocations: 0 / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.163, allocations: 0 / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.1632, allocations: 201.9 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.1632, allocations: 85.12 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.1632, allocations: 0 / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.947e-05/0.1634, allocations: 4 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.1634, allocations: 0 / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.936e-06/0.1634, allocations: 8 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.621e-05/0.1634, allocations: 79.27 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.78e-07/0.1634, allocations: 0 / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003221/0.1638, allocations: 27.95 kB / 0.9831 GB, free: 23.34 MB / 0.6198 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.0001572/0.1639, allocations: 119.2 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.1641, allocations: 32.16 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.091e-06/0.1641, allocations: 8 kB / 0.9833 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.588e-05/0.1641, allocations: 12.12 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.1643, allocations: 8 kB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.1647, allocations: 225.8 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.1649, allocations: 0.6848 MB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.345e-05/0.1649, allocations: 8.141 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.165, allocations: 11.44 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of SimCode: time 1.335e-06/0.165, allocations: 3.938 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.003005/0.168, allocations: 0.6223 MB / 0.9848 GB, free: 21.57 MB / 0.6198 GB