Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.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.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009743/0.0009742, allocations: 99.28 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.001365/0.001365, allocations: 187.5 kB / 16.92 MB, free: 6.75 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.451/1.451, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7922/0.7922, allocations: 115.4 MB / 407.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003414, allocations: 15.98 kB / 495.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1857, allocations: 77.5 MB / 0.5598 GB, free: 9.148 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.0008278/0.1866, allocations: 315.1 kB / 0.5601 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000307/0.1869, allocations: 50.42 kB / 0.5602 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.191e-05/0.1869, allocations: 0 / 0.5602 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.187, allocations: 0 / 0.5602 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.539e-06/0.187, allocations: 0 / 0.5602 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.1872, allocations: 11.92 kB / 0.5602 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.778e-05/0.1872, allocations: 4 kB / 0.5602 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/0.1873, allocations: 4 kB / 0.5602 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.904e-05/0.1873, allocations: 0 / 0.5602 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.1874, allocations: 3.984 kB / 0.5602 GB, free: 8.766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.1874, allocations: 4 kB / 0.5602 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1875, allocations: 19.98 kB / 0.5602 GB, free: 8.742 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.1875, allocations: 0 / 0.5602 GB, free: 8.742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.1876, allocations: 33.62 kB / 0.5602 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.848e-05/0.1876, allocations: 11.98 kB / 0.5602 GB, free: 8.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1877, allocations: 4 kB / 0.5602 GB, free: 8.688 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1877, allocations: 0 / 0.5602 GB, free: 8.688 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1877, allocations: 0 / 0.5602 GB, free: 8.688 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.00031/0.188, allocations: 311.5 kB / 0.5605 GB, free: 8.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.188, allocations: 12.09 kB / 0.5606 GB, free: 8.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.1883, allocations: 20.91 kB / 0.5606 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1884, allocations: 160.4 kB / 0.5607 GB, free: 8.105 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1885, allocations: 384 / 0.5607 GB, free: 8.105 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.1885, allocations: 384 / 0.5607 GB, free: 8.105 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.1886, allocations: 34.25 kB / 0.5608 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1887, allocations: 4.125 kB / 0.5608 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1887, allocations: 7.922 kB / 0.5608 GB, free: 8.055 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1887, allocations: 4 kB / 0.5608 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.451e-05/0.1888, allocations: 12 kB / 0.5608 GB, free: 8.039 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.189, allocations: 149.6 kB / 0.5609 GB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.181e-05/0.1891, allocations: 22.59 kB / 0.561 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.761e-05/0.1891, allocations: 8.922 kB / 0.561 GB, free: 7.801 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1892, allocations: 0 / 0.561 GB, free: 7.801 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1892, allocations: 42.56 kB / 0.561 GB, free: 7.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 2.565e-06/0.1892, allocations: 0 / 0.561 GB, free: 7.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002482/0.1894, allocations: 53.55 kB / 0.5611 GB, free: 7.691 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.1895, allocations: 51.41 kB / 0.5611 GB, free: 7.629 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.66e-05/0.1896, allocations: 89.86 kB / 0.5612 GB, free: 7.531 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1896, allocations: 25.7 kB / 0.5612 GB, free: 7.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.1896, allocations: 88.27 kB / 0.5613 GB, free: 7.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.1896, allocations: 0 / 0.5613 GB, free: 7.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.1897, allocations: 9.719 kB / 0.5613 GB, free: 7.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1898, allocations: 314.8 kB / 0.5616 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.68e-05/0.1899, allocations: 11.92 kB / 0.5616 GB, free: 7.066 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.664e-05/0.1899, allocations: 4 kB / 0.5616 GB, free: 7.062 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.376e-05/0.19, allocations: 20.84 kB / 0.5616 GB, free: 7.039 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.19, allocations: 0 / 0.5616 GB, free: 7.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001259/0.1902, allocations: 45.67 kB / 0.5617 GB, free: 6.988 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1902, allocations: 4 kB / 0.5617 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1902, allocations: 0 / 0.5617 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1902, allocations: 3.938 kB / 0.5617 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.511e-05/0.1903, allocations: 4 kB / 0.5617 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1903, allocations: 0 / 0.5617 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.1903, allocations: 3.906 kB / 0.5617 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1904, allocations: 12.02 kB / 0.5617 GB, free: 6.961 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 9.144e-05/0.1905, allocations: 114.5 kB / 0.5618 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-06/0.1905, allocations: 0 / 0.5618 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.1905, allocations: 7.062 kB / 0.5618 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1905, allocations: 3.984 kB / 0.5618 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1905, allocations: 0 / 0.5618 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1905, allocations: 0 / 0.5618 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.1906, allocations: 153.7 kB / 0.562 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1906, allocations: 4 kB / 0.562 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.1907, allocations: 7.938 kB / 0.562 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1907, allocations: 0 / 0.562 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1907, allocations: 3.938 kB / 0.562 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1907, allocations: 0 / 0.562 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1907, allocations: 0 / 0.562 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.1909, allocations: 69.11 kB / 0.5621 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.1909, allocations: 81.14 kB / 0.5621 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.191, allocations: 3.938 kB / 0.5621 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.036e-05/0.191, allocations: 3.938 kB / 0.5621 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.191, allocations: 0 / 0.5621 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.191, allocations: 4 kB / 0.5621 GB, free: 6.422 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.899e-05/0.1911, allocations: 79.27 kB / 0.5622 GB, free: 6.344 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1911, allocations: 0 / 0.5622 GB, free: 6.344 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001753/0.1912, allocations: 0 / 0.5622 GB, free: 6.344 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 0.0001498/0.1914, allocations: 99.25 kB / 0.5623 GB, free: 6.234 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.1916, allocations: 15.92 kB / 0.5623 GB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1916, allocations: 3.938 kB / 0.5623 GB, free: 6.215 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.279e-05/0.1916, allocations: 4 kB / 0.5623 GB, free: 6.211 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.1918, allocations: 8.281 kB / 0.5623 GB, free: 6.203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/0.192, allocations: 82.88 kB / 0.5624 GB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.1923, allocations: 0.6731 MB / 0.5631 GB, free: 5.398 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.731e-05/0.1923, allocations: 0 / 0.5631 GB, free: 5.398 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.1924, allocations: 7.438 kB / 0.5631 GB, free: 5.391 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1924, allocations: 0 / 0.5631 GB, free: 5.391 MB / 430.1 MB Notification: Performance of Templates: time 0.002206/0.1946, allocations: 221.3 kB / 0.5633 GB, free: 5.18 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)