Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.858/2.858, allocations: 287.9 MB / 302.9 MB, free: 8.27 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.002944/0.002943, allocations: 181 kB / 371.4 MB, free: 10.66 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.103/2.103, allocations: 205.4 MB / 0.6301 GB, free: 10.3 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.001014/0.001013, allocations: 94.22 kB / 0.7434 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004861, allocations: 12.38 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1605, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001217/0.1618, allocations: 0.9688 MB / 0.9797 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005751/0.1624, allocations: 316.9 kB / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.979e-05/0.1624, allocations: 0 / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.106e-05/0.1625, allocations: 0 / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.799e-05/0.1625, allocations: 15.97 kB / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005805/0.1631, allocations: 63.78 kB / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.228e-05/0.1632, allocations: 4 kB / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.882e-05/0.1633, allocations: 0 / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.698e-05/0.1633, allocations: 4 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.664e-05/0.1634, allocations: 19.84 kB / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.1634, allocations: 0 / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006222/0.1641, allocations: 175.7 kB / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.1641, allocations: 0 / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.1642, allocations: 29.7 kB / 0.9803 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.1644, allocations: 56.16 kB / 0.9804 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.639e-06/0.1645, allocations: 0 / 0.9804 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.432e-06/0.1645, allocations: 3.938 kB / 0.9804 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.1645, allocations: 0 / 0.9804 GB, free: 26.52 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.0004487/0.165, allocations: 323.4 kB / 0.9807 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.1651, allocations: 12.02 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.1651, allocations: 4 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.1653, allocations: 170.9 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.1653, allocations: 4 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.1654, allocations: 4 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.1655, allocations: 33.69 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1656, allocations: 3.938 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1656, allocations: 0 / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.697e-06/0.1656, allocations: 0 / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.197e-05/0.1657, allocations: 4 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.1659, allocations: 161.6 kB / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.1661, allocations: 22.61 kB / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.1661, allocations: 0 / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/0.1662, allocations: 38.62 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 3.321e-06/0.1662, allocations: 0 / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002549/0.1665, allocations: 41.62 kB / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.1665, allocations: 51.41 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.827e-05/0.1667, allocations: 98.08 kB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1667, allocations: 29.73 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.1667, allocations: 80.14 kB / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.1668, allocations: 3.906 kB / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-06/0.1668, allocations: 0 / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.616e-05/0.1669, allocations: 322.8 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.351e-05/0.167, allocations: 0 / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.692e-05/0.167, allocations: 4 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/0.1671, allocations: 0 / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.673e-06/0.1671, allocations: 4.016 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001485/0.1672, allocations: 45.64 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.1673, allocations: 8 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.961e-06/0.1673, allocations: 0 / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1674, allocations: 3.938 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.1676, allocations: 12.98 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004573/0.1681, allocations: 0.5821 MB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.1682, allocations: 4.125 kB / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.1682, allocations: 3.953 kB / 0.9824 GB, free: 24.24 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 9.532e-05/0.1684, allocations: 113.9 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.1684, allocations: 3.938 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.1686, allocations: 40.83 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.622e-06/0.1686, allocations: 3.984 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.042e-06/0.1686, allocations: 0 / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.1687, allocations: 3.984 kB / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.1688, allocations: 161.6 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.062e-06/0.1688, allocations: 0 / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.169, allocations: 11.98 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.608e-06/0.1691, allocations: 0 / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.665e-06/0.1691, allocations: 0 / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003928/0.1695, allocations: 0.586 MB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.271e-06/0.1695, allocations: 3.953 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.1697, allocations: 65.25 kB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.1697, allocations: 77.11 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.1698, allocations: 0 / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.234e-05/0.1698, allocations: 8 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.1699, allocations: 3.953 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.1699, allocations: 0 / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.17, allocations: 87.3 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.086e-06/0.17, allocations: 4 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005798/0.1706, allocations: 8 kB / 0.9835 GB, free: 22.95 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.0002474/0.1708, allocations: 115.1 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003117/0.1712, allocations: 12 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.703e-06/0.1712, allocations: 4 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.1714, allocations: 15.98 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.1716, allocations: 4.219 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.1721, allocations: 108.8 kB / 0.9838 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.1723, allocations: 0.6731 MB / 0.9844 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.507e-05/0.1723, allocations: 7.984 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/0.1724, allocations: 11.38 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of SimCode: time 1.955e-06/0.1724, allocations: 4 kB / 0.9844 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.004344/0.1768, allocations: 410.9 kB / 0.9848 GB, free: 21.56 MB / 0.6198 GB