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.497/1.497, allocations: 252 MB / 267.6 MB, free: 10.91 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.001699/0.001699, allocations: 180 kB / 327.3 MB, free: 2.219 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.756/1.756, allocations: 205.4 MB / 0.5783 GB, free: 20.25 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.000885/0.0008848, allocations: 98.22 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.000315, allocations: 9.625 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1851, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001223/0.1864, allocations: 1.009 MB / 0.9018 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007126/0.1871, allocations: 0.5429 MB / 0.9023 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.1871, allocations: 0 / 0.9023 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.674e-05/0.1872, allocations: 3.984 kB / 0.9023 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.303e-05/0.1872, allocations: 7.922 kB / 0.9024 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.1877, allocations: 119.6 kB / 0.9025 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.98e-05/0.1878, allocations: 23.81 kB / 0.9025 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.1878, allocations: 4 kB / 0.9025 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.012e-05/0.1879, allocations: 7.984 kB / 0.9025 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.1879, allocations: 11.98 kB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.1879, allocations: 7.938 kB / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.1883, allocations: 327.4 kB / 0.9028 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.166e-06/0.1883, allocations: 3.938 kB / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.1884, allocations: 25.7 kB / 0.9029 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.1885, allocations: 108 kB / 0.903 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1886, allocations: 0 / 0.903 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1886, allocations: 0 / 0.903 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1886, allocations: 0 / 0.903 GB, free: 61.71 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.0003429/0.1889, allocations: 363.9 kB / 0.9033 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.189, allocations: 8.031 kB / 0.9033 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.189, allocations: 3.984 kB / 0.9033 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.492e-05/0.1891, allocations: 167 kB / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1891, allocations: 0 / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.1891, allocations: 0 / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.1892, allocations: 41.69 kB / 0.9035 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1893, allocations: 3.938 kB / 0.9035 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1893, allocations: 4 kB / 0.9035 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1893, allocations: 0 / 0.9035 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.396e-05/0.1893, allocations: 20 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.1896, allocations: 256.8 kB / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1898, allocations: 42.62 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.821e-05/0.1898, allocations: 16.92 kB / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.1898, allocations: 11.98 kB / 0.9039 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.1899, allocations: 34.5 kB / 0.9039 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.1899, allocations: 0 / 0.9039 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001512/0.19, allocations: 53.69 kB / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.1901, allocations: 51.41 kB / 0.904 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.115e-05/0.1901, allocations: 101.8 kB / 0.9041 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.1901, allocations: 29.7 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.56e-05/0.1902, allocations: 80.14 kB / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.808e-06/0.1902, allocations: 19.75 kB / 0.9042 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.1902, allocations: 0 / 0.9042 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.488e-05/0.1902, allocations: 322.8 kB / 0.9045 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.1903, allocations: 8 kB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.163e-05/0.1903, allocations: 21.59 kB / 0.9046 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.324e-05/0.1903, allocations: 8 kB / 0.9046 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1903, allocations: 4 kB / 0.9046 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.382e-05/0.1904, allocations: 57.69 kB / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1904, allocations: 11.92 kB / 0.9046 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.1904, allocations: 0 / 0.9046 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1905, allocations: 4 kB / 0.9046 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.462e-05/0.1905, allocations: 8.359 kB / 0.9046 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1905, allocations: 4 kB / 0.9046 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.1906, allocations: 3.906 kB / 0.9047 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.1906, allocations: 0 / 0.9047 GB, free: 59.76 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 4.771e-05/0.1906, allocations: 113.8 kB / 0.9048 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.1907, allocations: 8.031 kB / 0.9048 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.1908, allocations: 65.16 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1908, allocations: 0 / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1908, allocations: 3.938 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1908, allocations: 0 / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.1909, allocations: 161.6 kB / 0.905 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1909, allocations: 0 / 0.905 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.191, allocations: 4 kB / 0.905 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.191, allocations: 0 / 0.905 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.191, allocations: 8 kB / 0.905 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.191, allocations: 0 / 0.905 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.191, allocations: 0 / 0.905 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.548e-05/0.1911, allocations: 151.5 kB / 0.9051 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.1911, allocations: 81.02 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.1911, allocations: 0 / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.711e-05/0.1912, allocations: 0 / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.224e-05/0.1912, allocations: 4 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.1912, allocations: 4 kB / 0.9052 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.903e-05/0.1912, allocations: 91.2 kB / 0.9053 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1912, allocations: 0 / 0.9053 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002304/0.1915, allocations: 19.94 kB / 0.9053 GB, free: 58.95 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.0001483/0.1916, allocations: 115.2 kB / 0.9054 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.678e-05/0.1917, allocations: 27.92 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1917, allocations: 0 / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.657e-05/0.1917, allocations: 15.94 kB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.192, allocations: 8.016 kB / 0.9055 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.1922, allocations: 154.3 kB / 0.9056 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.017e-05/0.1923, allocations: 0.6731 MB / 0.9063 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.1923, allocations: 15.44 kB / 0.9063 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1923, allocations: 0 / 0.9063 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.00172/0.194, allocations: 0.6874 MB / 0.907 GB, free: 57.19 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)