Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.983/2.983, allocations: 287.9 MB / 302.9 MB, free: 8.301 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.001455/0.001454, allocations: 183.8 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.289/2.289, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001015/0.001015, allocations: 85.28 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007819/0.0007823, allocations: 15.5 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1563, allocations: 115.3 MB / 0.9788 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001129/0.1574, allocations: 0.9687 MB / 0.9797 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004945/0.158, allocations: 293 kB / 0.98 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.956e-05/0.158, allocations: 3.938 kB / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.103e-05/0.158, allocations: 0 / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.261e-05/0.1581, allocations: 4 kB / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1584, allocations: 55.84 kB / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.573e-05/0.1584, allocations: 11.98 kB / 0.9801 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.1585, allocations: 0 / 0.9801 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.885e-05/0.1585, allocations: 15.88 kB / 0.9801 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.557e-05/0.1586, allocations: 0 / 0.9801 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.1586, allocations: 0 / 0.9801 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002761/0.1589, allocations: 179.7 kB / 0.9802 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.515e-06/0.1589, allocations: 0 / 0.9802 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.1589, allocations: 29.7 kB / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.1591, allocations: 52.16 kB / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.631e-06/0.1591, allocations: 0 / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.905e-06/0.1591, allocations: 0 / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.008e-06/0.1591, allocations: 4 kB / 0.9803 GB, free: 26.58 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002548/0.1594, allocations: 327.4 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.1594, allocations: 12.02 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.1594, allocations: 4 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.214e-05/0.1595, allocations: 166.9 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1595, allocations: 0 / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.1596, allocations: 0 / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.119e-05/0.1597, allocations: 45.56 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.17e-06/0.1597, allocations: 4 kB / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.878e-06/0.1597, allocations: 3.938 kB / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1597, allocations: 0 / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.75e-05/0.1597, allocations: 4 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001178/0.1599, allocations: 157.6 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.237e-05/0.1599, allocations: 22.61 kB / 0.981 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.16, allocations: 0 / 0.981 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.16, allocations: 42.56 kB / 0.9811 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.16, allocations: 0 / 0.9811 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000122/0.1601, allocations: 41.69 kB / 0.9811 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.93e-05/0.1602, allocations: 51.41 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.1602, allocations: 97.86 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.472e-06/0.1602, allocations: 25.7 kB / 0.9813 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.726e-05/0.1603, allocations: 80.14 kB / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.1603, allocations: 4.156 kB / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-06/0.1603, allocations: 4 kB / 0.9814 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.1604, allocations: 314.8 kB / 0.9817 GB, free: 25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.1604, allocations: 7.984 kB / 0.9817 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.232e-05/0.1604, allocations: 4 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.905e-05/0.1604, allocations: 3.938 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.007e-06/0.1605, allocations: 3.953 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.276e-05/0.1605, allocations: 33.7 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1606, allocations: 9.094 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.437e-06/0.1606, allocations: 4.094 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1606, allocations: 0 / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.1608, allocations: 19.97 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002729/0.1611, allocations: 0.586 MB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.402e-05/0.1611, allocations: 0 / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.759e-06/0.1611, allocations: 3.953 kB / 0.9823 GB, free: 24.29 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.713e-05/0.1612, allocations: 114 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.1612, allocations: 3.984 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.1613, allocations: 40.83 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.229e-06/0.1613, allocations: 0 / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.664e-06/0.1614, allocations: 0 / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.341e-06/0.1614, allocations: 0 / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.478e-05/0.1614, allocations: 161.5 kB / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.167e-06/0.1615, allocations: 0 / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.528e-05/0.1616, allocations: 16.92 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.989e-06/0.1616, allocations: 4.031 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.925e-06/0.1616, allocations: 0 / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002258/0.1618, allocations: 0.586 MB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1619, allocations: 7.891 kB / 0.9832 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.324e-05/0.1619, allocations: 65.25 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.162, allocations: 77.11 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.162, allocations: 0 / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.138e-05/0.162, allocations: 4 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.162, allocations: 3.953 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.1621, allocations: 0 / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.293e-05/0.1621, allocations: 79.22 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.05e-07/0.1621, allocations: 4 kB / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002701/0.1624, allocations: 19.92 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001451/0.1625, allocations: 113.8 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1627, allocations: 15.98 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1628, allocations: 4 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1629, allocations: 11.98 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/0.163, allocations: 0 / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.1633, allocations: 115.2 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.1634, allocations: 0.677 MB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.92e-05/0.1635, allocations: 4 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.219e-05/0.1635, allocations: 7.438 kB / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of SimCode: time 1.307e-06/0.1635, allocations: 0 / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.002585/0.1661, allocations: 427.2 kB / 0.9848 GB, free: 21.61 MB / 0.6198 GB