Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.114/5.114, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002383/0.002383, allocations: 358.2 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.833/3.833, allocations: 410.7 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001703/0.001702, allocations: 191 kB / 1.225 GB, free: 35.96 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0008572/0.0008575, allocations: 12 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1626, allocations: 115.3 MB / 1.461 GB, free: 6.613 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001132/0.1637, allocations: 0.9999 MB / 1.462 GB, free: 5.598 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008078/0.1646, allocations: 0.5365 MB / 1.462 GB, free: 5.062 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/0.1646, allocations: 0 / 1.462 GB, free: 5.062 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.12e-05/0.1646, allocations: 3.938 kB / 1.462 GB, free: 5.059 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.243e-05/0.1647, allocations: 7.984 kB / 1.462 GB, free: 5.051 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.1651, allocations: 119.3 kB / 1.462 GB, free: 4.938 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.227e-05/0.1652, allocations: 15.88 kB / 1.462 GB, free: 4.922 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.24e-05/0.1652, allocations: 4 kB / 1.462 GB, free: 4.918 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.999e-05/0.1653, allocations: 11.98 kB / 1.462 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.108e-05/0.1653, allocations: 7.938 kB / 1.462 GB, free: 4.898 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.1653, allocations: 4 kB / 1.462 GB, free: 4.895 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.1659, allocations: 335.2 kB / 1.463 GB, free: 4.566 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.166e-06/0.1659, allocations: 4 kB / 1.463 GB, free: 4.562 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.1659, allocations: 25.7 kB / 1.463 GB, free: 4.531 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1661, allocations: 96.09 kB / 1.463 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.186e-06/0.1661, allocations: 0 / 1.463 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.878e-06/0.1661, allocations: 0 / 1.463 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.106e-06/0.1661, allocations: 4 kB / 1.463 GB, free: 4.434 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003234/0.1665, allocations: 355.3 kB / 1.463 GB, free: 4.039 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1665, allocations: 8.031 kB / 1.463 GB, free: 4.031 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.1665, allocations: 3.906 kB / 1.463 GB, free: 4.027 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.065e-05/0.1666, allocations: 175 kB / 1.463 GB, free: 3.816 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1667, allocations: 0 / 1.463 GB, free: 3.816 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.1667, allocations: 0 / 1.463 GB, free: 3.816 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.1668, allocations: 53.56 kB / 1.463 GB, free: 3.758 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.565e-06/0.1668, allocations: 4 kB / 1.463 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.049e-06/0.1668, allocations: 0 / 1.463 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-06/0.1668, allocations: 0 / 1.463 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.186e-05/0.1669, allocations: 16 kB / 1.463 GB, free: 3.738 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.1672, allocations: 257 kB / 1.464 GB, free: 3.438 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.1675, allocations: 46.56 kB / 1.464 GB, free: 3.383 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/0.1675, allocations: 24.84 kB / 1.464 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1675, allocations: 3.938 kB / 1.464 GB, free: 3.352 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.1676, allocations: 34.56 kB / 1.464 GB, free: 3.309 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.976e-06/0.1676, allocations: 0 / 1.464 GB, free: 3.309 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001796/0.1678, allocations: 53.69 kB / 1.464 GB, free: 3.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.1678, allocations: 51.41 kB / 1.464 GB, free: 3.188 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.295e-05/0.1679, allocations: 97.84 kB / 1.464 GB, free: 3.082 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.755e-06/0.1679, allocations: 25.7 kB / 1.464 GB, free: 3.051 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.1679, allocations: 99.98 kB / 1.464 GB, free: 2.949 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.1679, allocations: 11.8 kB / 1.464 GB, free: 2.938 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-06/0.168, allocations: 3.938 kB / 1.464 GB, free: 2.934 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.026e-05/0.168, allocations: 322.8 kB / 1.464 GB, free: 2.609 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.441e-05/0.1681, allocations: 7.984 kB / 1.464 GB, free: 2.602 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.31e-05/0.1681, allocations: 17.72 kB / 1.464 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.229e-05/0.1681, allocations: 8 kB / 1.464 GB, free: 2.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.529e-06/0.1681, allocations: 4 kB / 1.464 GB, free: 2.566 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001152/0.1683, allocations: 57.62 kB / 1.465 GB, free: 2.504 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1683, allocations: 7.125 kB / 1.465 GB, free: 2.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.958e-06/0.1683, allocations: 0 / 1.465 GB, free: 2.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1683, allocations: 4 kB / 1.465 GB, free: 2.496 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.375e-05/0.1684, allocations: 7.984 kB / 1.465 GB, free: 2.488 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.966e-06/0.1684, allocations: 4 kB / 1.465 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.1685, allocations: 0 / 1.465 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-06/0.1685, allocations: 0 / 1.465 GB, free: 2.484 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.849e-05/0.1685, allocations: 122.4 kB / 1.465 GB, free: 2.355 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.1686, allocations: 432 / 1.465 GB, free: 2.355 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.1687, allocations: 73 kB / 1.465 GB, free: 2.277 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-06/0.1688, allocations: 0 / 1.465 GB, free: 2.277 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.083e-06/0.1688, allocations: 0 / 1.465 GB, free: 2.277 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1688, allocations: 0 / 1.465 GB, free: 2.277 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.1689, allocations: 161.6 kB / 1.465 GB, free: 2.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.169, allocations: 0 / 1.465 GB, free: 2.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.726e-05/0.169, allocations: 4 kB / 1.465 GB, free: 2.066 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.268e-06/0.169, allocations: 4 kB / 1.465 GB, free: 2.062 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-06/0.169, allocations: 0 / 1.465 GB, free: 2.062 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1691, allocations: 7.938 kB / 1.465 GB, free: 2.055 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.569e-06/0.1691, allocations: 0 / 1.465 GB, free: 2.055 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.1692, allocations: 151.4 kB / 1.465 GB, free: 1.891 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.1692, allocations: 88.97 kB / 1.465 GB, free: 1.785 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.1692, allocations: 4 kB / 1.465 GB, free: 1.781 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.1693, allocations: 0 / 1.465 GB, free: 1.781 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.1693, allocations: 8 kB / 1.465 GB, free: 1.773 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.111e-06/0.1694, allocations: 0 / 1.465 GB, free: 1.773 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.376e-05/0.1694, allocations: 79.28 kB / 1.465 GB, free: 1.695 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.11e-07/0.1694, allocations: 0 / 1.465 GB, free: 1.695 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003213/0.1697, allocations: 19.98 kB / 1.465 GB, free: 1.676 MB / 0.6042 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 (4): * Single equations (assignments): 4 * 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.0001591/0.1699, allocations: 119.2 kB / 1.465 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.418e-05/0.17, allocations: 16 kB / 1.465 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.564e-06/0.17, allocations: 4 kB / 1.465 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.558e-05/0.1701, allocations: 15.98 kB / 1.465 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.1703, allocations: 14.19 kB / 1.465 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.1706, allocations: 132.2 kB / 1.466 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.171, allocations: 0.677 MB / 1.466 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.438e-05/0.171, allocations: 15.97 kB / 1.466 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.1711, allocations: 11.44 kB / 1.466 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of SimCode: time 1.413e-06/0.1711, allocations: 0 / 1.466 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of Templates: time 0.002969/0.1741, allocations: 495.5 kB / 1.467 GB, free: 144 kB / 0.6042 GB