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.467/1.467, allocations: 251.5 MB / 267.4 MB, free: 11.1 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.001037/0.001037, allocations: 176.5 kB / 326.5 MB, free: 2.707 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.516/1.516, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0007368/0.0007368, allocations: 88.56 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.000303, allocations: 11.84 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.176, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001137/0.1772, allocations: 1.018 MB / 0.8977 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00078/0.178, allocations: 0.6167 MB / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.469e-05/0.178, allocations: 0 / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.1781, allocations: 0 / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.983e-05/0.1781, allocations: 3.938 kB / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.1785, allocations: 126.5 kB / 0.8985 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.892e-05/0.1785, allocations: 23.94 kB / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.1786, allocations: 3.984 kB / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.818e-05/0.1786, allocations: 7.938 kB / 0.8985 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.1787, allocations: 4 kB / 0.8985 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1787, allocations: 4 kB / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003679/0.1791, allocations: 343.3 kB / 0.8988 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.1791, allocations: 4 kB / 0.8988 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.1791, allocations: 7.938 kB / 0.8988 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.1793, allocations: 104 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1793, allocations: 4 kB / 0.899 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.235e-06/0.1793, allocations: 0 / 0.899 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.1793, allocations: 3.938 kB / 0.899 GB, free: 65.94 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.0002957/0.1796, allocations: 351.5 kB / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1796, allocations: 12.03 kB / 0.8993 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.1797, allocations: 4.875 kB / 0.8993 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.933e-05/0.1797, allocations: 160.4 kB / 0.8995 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1798, allocations: 4.375 kB / 0.8995 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.1798, allocations: 8.375 kB / 0.8995 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.141e-05/0.1799, allocations: 42.25 kB / 0.8995 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1799, allocations: 192 / 0.8995 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.1799, allocations: 3.938 kB / 0.8995 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1799, allocations: 3.938 kB / 0.8995 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.176e-05/0.18, allocations: 15.98 kB / 0.8995 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.1802, allocations: 256.8 kB / 0.8998 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.1804, allocations: 54.56 kB / 0.8998 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.755e-05/0.1804, allocations: 20.84 kB / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.1804, allocations: 0 / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.087e-05/0.1804, allocations: 34.56 kB / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1804, allocations: 0 / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001368/0.1806, allocations: 57.62 kB / 0.8999 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.1806, allocations: 51.41 kB / 0.9 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.016e-05/0.1807, allocations: 97.86 kB / 0.9001 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.784e-06/0.1807, allocations: 33.69 kB / 0.9001 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.18e-05/0.1807, allocations: 84.14 kB / 0.9002 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.276e-06/0.1807, allocations: 11.8 kB / 0.9002 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.918e-05/0.1807, allocations: 17.72 kB / 0.9002 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.594e-05/0.1808, allocations: 310.8 kB / 0.9005 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.1808, allocations: 7.984 kB / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.1808, allocations: 17.72 kB / 0.9005 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.942e-05/0.1809, allocations: 38.03 kB / 0.9006 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1809, allocations: 0 / 0.9006 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.137e-05/0.181, allocations: 65.55 kB / 0.9006 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.181, allocations: 4 kB / 0.9006 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.181, allocations: 3.984 kB / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.181, allocations: 0 / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.112e-05/0.181, allocations: 11.94 kB / 0.9007 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1811, allocations: 0 / 0.9007 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.434e-05/0.1811, allocations: 15.94 kB / 0.9007 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.1811, allocations: 0 / 0.9007 GB, free: 63.94 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.265e-05/0.1811, allocations: 117.7 kB / 0.9008 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.1812, allocations: 0 / 0.9008 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.1813, allocations: 61.17 kB / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1813, allocations: 0 / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1813, allocations: 0 / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1813, allocations: 0 / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.1814, allocations: 165.6 kB / 0.901 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.1814, allocations: 8.062 kB / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.1815, allocations: 8 kB / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1815, allocations: 0 / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.1815, allocations: 0 / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1815, allocations: 4 kB / 0.901 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1815, allocations: 0 / 0.901 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.676e-05/0.1816, allocations: 155.5 kB / 0.9012 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.1816, allocations: 88.95 kB / 0.9013 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.1816, allocations: 0 / 0.9013 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.51e-05/0.1817, allocations: 0 / 0.9013 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.1817, allocations: 4 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.1817, allocations: 0 / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.655e-05/0.1817, allocations: 79.28 kB / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1817, allocations: 0 / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002155/0.1819, allocations: 23.98 kB / 0.9014 GB, free: 63.13 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.000133/0.1821, allocations: 123.1 kB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.562e-05/0.1822, allocations: 27.98 kB / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1822, allocations: 0 / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.737e-05/0.1822, allocations: 15.94 kB / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.1824, allocations: 9.141 kB / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.1827, allocations: 142.1 kB / 0.9017 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.411e-05/0.1828, allocations: 0.677 MB / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.1828, allocations: 15.5 kB / 0.9023 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.1828, allocations: 0 / 0.9023 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of Templates: time 0.001853/0.1847, allocations: 0.6773 MB / 0.903 GB, free: 61.38 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)