Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001066/0.001066, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001261/0.001261, allocations: 189.6 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.1 MB / 222 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.637/1.637, allocations: 292.2 MB / 0.5484 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 63.67 kB / 0.6708 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1873, allocations: 114.5 MB / 0.7827 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001937/0.1893, allocations: 0.6666 MB / 0.7833 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 3.448e-05/0.1893, allocations: 0 / 0.7833 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.46e-05/0.1893, allocations: 0 / 0.7833 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.1894, allocations: 0 / 0.7833 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.568e-06/0.1894, allocations: 0 / 0.7833 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.666e-05/0.1894, allocations: 0 / 0.7833 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.519e-05/0.1895, allocations: 4 kB / 0.7833 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.131e-05/0.1895, allocations: 4 kB / 0.7833 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.205e-05/0.1896, allocations: 7.938 kB / 0.7833 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.869e-05/0.1896, allocations: 0 / 0.7833 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.1896, allocations: 0 / 0.7833 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.236e-06/0.1896, allocations: 0 / 0.7833 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.1896, allocations: 3.984 kB / 0.7833 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.913e-05/0.1897, allocations: 3.938 kB / 0.7833 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.766e-05/0.1897, allocations: 4 kB / 0.7833 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1897, allocations: 0 / 0.7833 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1897, allocations: 3.938 kB / 0.7833 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.1897, allocations: 0 / 0.7833 GB, free: 13.37 MB / 0.6075 GB 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.0002815/0.19, allocations: 311.5 kB / 0.7836 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1901, allocations: 12.09 kB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.1901, allocations: 4.938 kB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.408e-05/0.1902, allocations: 160.4 kB / 0.7838 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1902, allocations: 384 / 0.7838 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.1902, allocations: 384 / 0.7838 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.278e-05/0.1903, allocations: 34.25 kB / 0.7838 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1903, allocations: 4.172 kB / 0.7838 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.1903, allocations: 3.938 kB / 0.7839 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1904, allocations: 4 kB / 0.7839 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.605e-05/0.1904, allocations: 0 / 0.7839 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.1905, allocations: 149.6 kB / 0.784 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.601e-05/0.1905, allocations: 18.58 kB / 0.784 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.017e-05/0.1906, allocations: 8.953 kB / 0.784 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.1906, allocations: 0 / 0.784 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.1906, allocations: 34.56 kB / 0.7841 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1906, allocations: 0 / 0.7841 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001086/0.1907, allocations: 41.56 kB / 0.7841 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.1908, allocations: 55.41 kB / 0.7841 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.265e-05/0.1908, allocations: 89.86 kB / 0.7842 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.1908, allocations: 29.7 kB / 0.7843 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.1909, allocations: 80.14 kB / 0.7843 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.1909, allocations: 3.906 kB / 0.7843 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.1909, allocations: 13.84 kB / 0.7844 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.473e-05/0.191, allocations: 314.8 kB / 0.7847 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.1911, allocations: 8 kB / 0.7847 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-06/0.1911, allocations: 0 / 0.7847 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.325e-05/0.1911, allocations: 12.86 kB / 0.7847 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1911, allocations: 0 / 0.7847 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.162e-05/0.1912, allocations: 37.62 kB / 0.7847 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1912, allocations: 4 kB / 0.7847 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.1912, allocations: 4.094 kB / 0.7847 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1912, allocations: 7.875 kB / 0.7847 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.657e-05/0.1913, allocations: 4 kB / 0.7847 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.1913, allocations: 3.938 kB / 0.7847 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.737e-06/0.1913, allocations: 0 / 0.7847 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.1913, allocations: 0 / 0.7847 GB, free: 11.71 MB / 0.6075 GB 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.581e-05/0.1914, allocations: 110.1 kB / 0.7848 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-06/0.1914, allocations: 0 / 0.7848 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.644e-05/0.1914, allocations: 15.05 kB / 0.7849 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.1914, allocations: 4 kB / 0.7849 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1914, allocations: 0 / 0.7849 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.1914, allocations: 0 / 0.7849 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.725e-05/0.1915, allocations: 141.7 kB / 0.785 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1915, allocations: 0 / 0.785 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.133e-05/0.1915, allocations: 4 kB / 0.785 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1915, allocations: 0 / 0.785 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1915, allocations: 3.938 kB / 0.785 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1915, allocations: 0 / 0.785 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1916, allocations: 3.984 kB / 0.785 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.973e-05/0.1916, allocations: 65.08 kB / 0.7851 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.445e-05/0.1917, allocations: 81.05 kB / 0.7851 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.1917, allocations: 3.938 kB / 0.7851 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-06/0.1917, allocations: 0 / 0.7851 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/0.1917, allocations: 0 / 0.7851 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.1917, allocations: 7.984 kB / 0.7852 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.297e-05/0.1917, allocations: 75.28 kB / 0.7852 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/0.1917, allocations: 0 / 0.7852 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001768/0.1919, allocations: 4.031 kB / 0.7852 GB, free: 11.11 MB / 0.6075 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 (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 7.908e-05/0.192, allocations: 91.25 kB / 0.7853 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.208e-05/0.1921, allocations: 4 kB / 0.7853 GB, free: 11 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1921, allocations: 0 / 0.7853 GB, free: 11 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.586e-06/0.1921, allocations: 7.938 kB / 0.7853 GB, free: 11 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.1922, allocations: 0 / 0.7853 GB, free: 11 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002026/0.1924, allocations: 89.45 kB / 0.7854 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.1927, allocations: 0.6731 MB / 0.7861 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.031e-05/0.1927, allocations: 0 / 0.7861 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.399e-05/0.1927, allocations: 7.438 kB / 0.7861 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1927, allocations: 0 / 0.7861 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of Templates: time 0.001645/0.1944, allocations: 157 kB / 0.7862 GB, free: 10.02 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_8_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)