Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.433/1.433, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 183.2 kB / 327.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.4 MB / 0.5786 GB, free: 20.08 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007863/0.0007863, allocations: 91.72 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003111, allocations: 8.531 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1718, allocations: 106.3 MB / 0.9015 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001112/0.1729, allocations: 1.024 MB / 0.9025 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008453/0.1738, allocations: 0.6008 MB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.1738, allocations: 0 / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.1738, allocations: 3.984 kB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.617e-05/0.1739, allocations: 3.938 kB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.1743, allocations: 125.8 kB / 0.9032 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.052e-05/0.1743, allocations: 23.92 kB / 0.9032 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.1744, allocations: 0 / 0.9032 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.945e-05/0.1744, allocations: 7.938 kB / 0.9032 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.381e-05/0.1744, allocations: 15.92 kB / 0.9032 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.1745, allocations: 0 / 0.9032 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003905/0.1748, allocations: 343.4 kB / 0.9035 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.1749, allocations: 7.938 kB / 0.9035 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.1749, allocations: 33.69 kB / 0.9036 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.1751, allocations: 92.05 kB / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1751, allocations: 0 / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.953e-06/0.1751, allocations: 0 / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.1751, allocations: 7.938 kB / 0.9037 GB, free: 61.05 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.0003193/0.1754, allocations: 363.4 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1754, allocations: 8.031 kB / 0.904 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.1755, allocations: 4.938 kB / 0.904 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.4e-05/0.1756, allocations: 160.4 kB / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1756, allocations: 384 / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.1756, allocations: 8.375 kB / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.957e-05/0.1757, allocations: 38.25 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1757, allocations: 192 / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1757, allocations: 7.938 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1757, allocations: 4 kB / 0.9042 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.167e-05/0.1758, allocations: 15.98 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002424/0.176, allocations: 252.8 kB / 0.9045 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.1762, allocations: 50.56 kB / 0.9045 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.1762, allocations: 16.86 kB / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1763, allocations: 0 / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.236e-05/0.1763, allocations: 34.56 kB / 0.9046 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1763, allocations: 0 / 0.9046 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001376/0.1764, allocations: 61.62 kB / 0.9047 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.1765, allocations: 55.39 kB / 0.9047 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.499e-05/0.1765, allocations: 93.86 kB / 0.9048 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.662e-06/0.1765, allocations: 33.64 kB / 0.9048 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.306e-05/0.1766, allocations: 80.14 kB / 0.9049 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.896e-06/0.1766, allocations: 15.75 kB / 0.9049 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.1766, allocations: 4 kB / 0.9049 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.976e-05/0.1766, allocations: 318.8 kB / 0.9052 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.545e-05/0.1766, allocations: 7.938 kB / 0.9052 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.1767, allocations: 25.72 kB / 0.9053 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.1767, allocations: 37.64 kB / 0.9053 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1767, allocations: 0 / 0.9053 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.114e-05/0.1768, allocations: 58 kB / 0.9054 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.1768, allocations: 4 kB / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1768, allocations: 4 kB / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1768, allocations: 48 / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.426e-05/0.1769, allocations: 15.92 kB / 0.9054 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1769, allocations: 0 / 0.9054 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.1769, allocations: 3.906 kB / 0.9054 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.177, allocations: 8 kB / 0.9054 GB, free: 59.06 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/0.177, allocations: 113.8 kB / 0.9055 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.177, allocations: 4.031 kB / 0.9055 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.1771, allocations: 57.19 kB / 0.9056 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1771, allocations: 3.938 kB / 0.9056 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1772, allocations: 4 kB / 0.9056 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1772, allocations: 0 / 0.9056 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.1773, allocations: 161.6 kB / 0.9057 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1773, allocations: 0 / 0.9057 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/0.1773, allocations: 7.984 kB / 0.9057 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1773, allocations: 4 kB / 0.9057 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.1773, allocations: 8 kB / 0.9057 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1773, allocations: 0 / 0.9057 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1774, allocations: 0 / 0.9057 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.506e-05/0.1774, allocations: 147.5 kB / 0.9059 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.1775, allocations: 81.02 kB / 0.906 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.1775, allocations: 4 kB / 0.906 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.897e-05/0.1775, allocations: 0 / 0.906 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.1775, allocations: 3.984 kB / 0.906 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.1776, allocations: 4 kB / 0.906 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.693e-05/0.1776, allocations: 87.16 kB / 0.906 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1776, allocations: 0 / 0.906 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002467/0.1778, allocations: 23.94 kB / 0.9061 GB, free: 58.26 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001353/0.178, allocations: 115.2 kB / 0.9062 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.551e-05/0.1781, allocations: 23.98 kB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1781, allocations: 0 / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.1781, allocations: 11.94 kB / 0.9062 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.1783, allocations: 12 kB / 0.9062 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.1785, allocations: 162.3 kB / 0.9064 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.607e-05/0.1786, allocations: 0.6731 MB / 0.907 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.1787, allocations: 15.36 kB / 0.9071 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.1787, allocations: 4 kB / 0.9071 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of Templates: time 0.001654/0.1803, allocations: 0.6837 MB / 0.9077 GB, free: 56.49 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)