Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 196.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002062/0.002062, allocations: 287 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.004/1.004, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 95.31 kB / 0.5945 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1888, allocations: 86.98 MB / 0.6794 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.002201/0.191, allocations: 0.6507 MB / 0.6801 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 3.63e-05/0.1911, allocations: 7.922 kB / 0.6801 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.626e-05/0.1911, allocations: 0 / 0.6801 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.1912, allocations: 0 / 0.6801 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.45e-06/0.1912, allocations: 1.406 kB / 0.6801 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.809e-05/0.1912, allocations: 0 / 0.6801 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.092e-05/0.1913, allocations: 4 kB / 0.6801 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.317e-05/0.1914, allocations: 7.984 kB / 0.6801 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.577e-05/0.1914, allocations: 0.6562 kB / 0.6801 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.775e-05/0.1914, allocations: 1.719 kB / 0.6801 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1914, allocations: 0 / 0.6801 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.707e-06/0.1914, allocations: 0 / 0.6801 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.1914, allocations: 0 / 0.6801 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.1915, allocations: 0 / 0.6801 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 4.6e-05/0.1915, allocations: 4.875 kB / 0.6801 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1915, allocations: 0 / 0.6801 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1915, allocations: 0 / 0.6801 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1915, allocations: 0.7188 kB / 0.6801 GB, free: 0.5352 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002868/0.1918, allocations: 309.2 kB / 0.6804 GB, free: 188 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1919, allocations: 12.02 kB / 0.6804 GB, free: 176 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.1919, allocations: 4.875 kB / 0.6804 GB, free: 172 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.192, allocations: 160.4 kB / 0.6806 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.192, allocations: 4.906 kB / 0.6806 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-06/0.1921, allocations: 1 kB / 0.6806 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.672e-05/0.1921, allocations: 42.2 kB / 0.6806 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.1922, allocations: 4.125 kB / 0.6806 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1922, allocations: 7.922 kB / 0.6806 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1922, allocations: 0 / 0.6806 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.752e-05/0.1922, allocations: 4 kB / 0.6806 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.1923, allocations: 149.7 kB / 0.6808 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.958e-05/0.1924, allocations: 18.58 kB / 0.6808 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.1924, allocations: 12.95 kB / 0.6808 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.1924, allocations: 0 / 0.6808 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1925, allocations: 34.5 kB / 0.6808 GB, free: 15.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1925, allocations: 0 / 0.6808 GB, free: 15.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000117/0.1926, allocations: 33.64 kB / 0.6809 GB, free: 15.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.1926, allocations: 51.41 kB / 0.6809 GB, free: 15.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.396e-05/0.1927, allocations: 93.86 kB / 0.681 GB, free: 15.42 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.1927, allocations: 29.7 kB / 0.681 GB, free: 15.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.1927, allocations: 88.25 kB / 0.6811 GB, free: 15.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.1928, allocations: 4.219 kB / 0.6811 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.1928, allocations: 9.719 kB / 0.6811 GB, free: 15.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.1929, allocations: 310.8 kB / 0.6814 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.217e-06/0.1929, allocations: 4 kB / 0.6814 GB, free: 14.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-06/0.1929, allocations: 0 / 0.6814 GB, free: 14.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.206e-05/0.193, allocations: 16.8 kB / 0.6814 GB, free: 14.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.193, allocations: 4.062 kB / 0.6814 GB, free: 14.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.626e-05/0.193, allocations: 29.7 kB / 0.6815 GB, free: 14.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.193, allocations: 4 kB / 0.6815 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.193, allocations: 0 / 0.6815 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1931, allocations: 11.92 kB / 0.6815 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.1931, allocations: 0 / 0.6815 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1931, allocations: 0 / 0.6815 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.008e-05/0.1932, allocations: 0 / 0.6815 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.1932, allocations: 0 / 0.6815 GB, free: 14.89 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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 7.312e-05/0.1932, allocations: 115.2 kB / 0.6816 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-06/0.1932, allocations: 3.938 kB / 0.6816 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.703e-05/0.1933, allocations: 7.062 kB / 0.6816 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1933, allocations: 0 / 0.6816 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1933, allocations: 0 / 0.6816 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1933, allocations: 0 / 0.6816 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.102e-05/0.1934, allocations: 149.7 kB / 0.6817 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1934, allocations: 4 kB / 0.6817 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.125e-05/0.1934, allocations: 3.938 kB / 0.6818 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1934, allocations: 0 / 0.6818 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1934, allocations: 3.938 kB / 0.6818 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1934, allocations: 4 kB / 0.6818 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1934, allocations: 3.938 kB / 0.6818 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.596e-05/0.1935, allocations: 57.12 kB / 0.6818 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.1936, allocations: 81.11 kB / 0.6819 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.1936, allocations: 3.938 kB / 0.6819 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-06/0.1936, allocations: 0 / 0.6819 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.1936, allocations: 0 / 0.6819 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.1936, allocations: 12.03 kB / 0.6819 GB, free: 14.35 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.403e-05/0.1936, allocations: 75.28 kB / 0.682 GB, free: 14.28 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1936, allocations: 0 / 0.682 GB, free: 14.28 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001736/0.1938, allocations: 0 / 0.682 GB, free: 14.28 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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.0001009/0.1939, allocations: 95.25 kB / 0.6821 GB, free: 14.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.811e-05/0.194, allocations: 3.938 kB / 0.6821 GB, free: 14.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.194, allocations: 0 / 0.6821 GB, free: 14.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.194, allocations: 12.05 kB / 0.6821 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.1942, allocations: 4.453 kB / 0.6821 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001816/0.1943, allocations: 86.61 kB / 0.6822 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.1946, allocations: 0.6692 MB / 0.6828 GB, free: 13.35 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.355e-05/0.1946, allocations: 0 / 0.6828 GB, free: 13.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.1946, allocations: 7.438 kB / 0.6828 GB, free: 13.34 MB / 494.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1946, allocations: 0 / 0.6828 GB, free: 13.34 MB / 494.1 MB Notification: Performance of Templates: time 0.001718/0.1963, allocations: 169 kB / 0.683 GB, free: 13.18 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)