Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime") translateModel(IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009726/0.0009727, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 185.5 kB / 16.92 MB, free: 6.754 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.475/1.475, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7247/0.7247, allocations: 115.5 MB / 407.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003515, allocations: 11.94 kB / 495.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1884, allocations: 77.52 MB / 0.5599 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.0009799/0.1895, allocations: 322.1 kB / 0.5603 GB, free: 8.734 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 5.253e-05/0.1896, allocations: 8 kB / 0.5603 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.417e-05/0.1896, allocations: 4 kB / 0.5603 GB, free: 8.723 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.1896, allocations: 0 / 0.5603 GB, free: 8.723 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.139e-06/0.1896, allocations: 0 / 0.5603 GB, free: 8.723 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.043e-05/0.1897, allocations: 0 / 0.5603 GB, free: 8.723 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.359e-05/0.1897, allocations: 0 / 0.5603 GB, free: 8.723 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.712e-05/0.1898, allocations: 0 / 0.5603 GB, free: 8.723 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.883e-05/0.1898, allocations: 4 kB / 0.5603 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.051e-05/0.1898, allocations: 0 / 0.5603 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.1899, allocations: 0 / 0.5603 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.44e-06/0.1899, allocations: 0 / 0.5603 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.1899, allocations: 7.922 kB / 0.5603 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.1899, allocations: 33.69 kB / 0.5603 GB, free: 8.672 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.7e-05/0.19, allocations: 3.938 kB / 0.5603 GB, free: 8.668 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.19, allocations: 4 kB / 0.5603 GB, free: 8.664 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.19, allocations: 0 / 0.5603 GB, free: 8.664 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.19, allocations: 0 / 0.5603 GB, free: 8.664 MB / 430.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.0003946/0.1904, allocations: 307.6 kB / 0.5606 GB, free: 8.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.1905, allocations: 8.031 kB / 0.5606 GB, free: 8.305 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.1905, allocations: 4.922 kB / 0.5606 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.1907, allocations: 164.4 kB / 0.5608 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1907, allocations: 384 / 0.5608 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.1907, allocations: 8.375 kB / 0.5608 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.382e-05/0.1908, allocations: 26.27 kB / 0.5608 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1908, allocations: 192 / 0.5608 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.1908, allocations: 3.938 kB / 0.5608 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1909, allocations: 0 / 0.5608 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.291e-05/0.1909, allocations: 7.938 kB / 0.5608 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.191, allocations: 145.7 kB / 0.561 GB, free: 7.859 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.56e-05/0.1911, allocations: 18.58 kB / 0.561 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.64e-05/0.1911, allocations: 12.94 kB / 0.561 GB, free: 7.816 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.1911, allocations: 0 / 0.561 GB, free: 7.816 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1912, allocations: 34.56 kB / 0.561 GB, free: 7.773 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.1912, allocations: 0 / 0.561 GB, free: 7.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001206/0.1913, allocations: 45.58 kB / 0.5611 GB, free: 7.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.1913, allocations: 51.41 kB / 0.5611 GB, free: 7.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.781e-05/0.1914, allocations: 93.98 kB / 0.5612 GB, free: 7.559 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.1914, allocations: 25.7 kB / 0.5612 GB, free: 7.527 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/0.1914, allocations: 80.14 kB / 0.5613 GB, free: 7.445 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.1915, allocations: 0 / 0.5613 GB, free: 7.445 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.1915, allocations: 9.719 kB / 0.5613 GB, free: 7.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1916, allocations: 314.8 kB / 0.5616 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-06/0.1917, allocations: 7.984 kB / 0.5616 GB, free: 7.105 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-06/0.1917, allocations: 4 kB / 0.5616 GB, free: 7.102 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.868e-05/0.1917, allocations: 12.92 kB / 0.5616 GB, free: 7.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1917, allocations: 0 / 0.5616 GB, free: 7.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.779e-05/0.1918, allocations: 33.64 kB / 0.5617 GB, free: 7.047 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1918, allocations: 4 kB / 0.5617 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1918, allocations: 3.938 kB / 0.5617 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1918, allocations: 3.938 kB / 0.5617 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.297e-05/0.1919, allocations: 4 kB / 0.5617 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1919, allocations: 4 kB / 0.5617 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.23e-05/0.1919, allocations: 3.906 kB / 0.5617 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.1919, allocations: 0 / 0.5617 GB, free: 7.023 MB / 430.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.951e-05/0.192, allocations: 121.9 kB / 0.5618 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-06/0.192, allocations: 0 / 0.5618 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.575e-05/0.192, allocations: 7.062 kB / 0.5618 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.192, allocations: 0 / 0.5618 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.192, allocations: 0 / 0.5618 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1921, allocations: 0 / 0.5618 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.156e-05/0.1921, allocations: 141.7 kB / 0.562 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1922, allocations: 4 kB / 0.562 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.1922, allocations: 3.984 kB / 0.562 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1922, allocations: 4 kB / 0.562 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.1922, allocations: 3.938 kB / 0.562 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1922, allocations: 0 / 0.562 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1922, allocations: 0 / 0.562 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.099e-05/0.1923, allocations: 61.08 kB / 0.562 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.1923, allocations: 77.11 kB / 0.5621 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1923, allocations: 7.922 kB / 0.5621 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-06/0.1924, allocations: 0 / 0.5621 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.1924, allocations: 4.031 kB / 0.5621 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1924, allocations: 4 kB / 0.5621 GB, free: 6.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.38e-05/0.1924, allocations: 75.28 kB / 0.5622 GB, free: 6.426 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1924, allocations: 0 / 0.5622 GB, free: 6.426 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001739/0.1926, allocations: 0 / 0.5622 GB, free: 6.426 MB / 430.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 9.235e-05/0.1927, allocations: 91.53 kB / 0.5623 GB, free: 6.324 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.609e-05/0.1928, allocations: 4 kB / 0.5623 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1928, allocations: 4.062 kB / 0.5623 GB, free: 6.316 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.087e-06/0.1928, allocations: 11.94 kB / 0.5623 GB, free: 6.305 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.1929, allocations: 0 / 0.5623 GB, free: 6.305 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.1932, allocations: 82.62 kB / 0.5624 GB, free: 6.195 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.1937, allocations: 0.677 MB / 0.563 GB, free: 5.492 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.308e-05/0.1937, allocations: 0 / 0.563 GB, free: 5.492 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.615e-05/0.1938, allocations: 7.438 kB / 0.563 GB, free: 5.484 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1938, allocations: 0 / 0.563 GB, free: 5.484 MB / 430.1 MB Notification: Performance of Templates: time 0.001781/0.1956, allocations: 157.1 kB / 0.5632 GB, free: 5.332 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)