Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001165/0.001165, allocations: 108 kB / 15.6 MB, free: 132 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.001211/0.001211, allocations: 193 kB / 16.53 MB, free: 6.391 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.192/1.192, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.589/1.589, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001351/0.001351, allocations: 80.03 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.182, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001621/0.1836, allocations: 0.5822 MB / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002181/0.1838, allocations: 51.78 kB / 0.784 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.325e-05/0.1839, allocations: 0 / 0.784 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.029e-05/0.1839, allocations: 0 / 0.784 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.268e-06/0.1839, allocations: 0 / 0.784 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.1841, allocations: 23.92 kB / 0.784 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.548e-05/0.1841, allocations: 4 kB / 0.784 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.1842, allocations: 0 / 0.784 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.025e-05/0.1842, allocations: 0 / 0.784 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.011e-05/0.1842, allocations: 4 kB / 0.784 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.894e-06/0.1842, allocations: 0 / 0.784 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.737e-05/0.1843, allocations: 15.98 kB / 0.784 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.678e-06/0.1843, allocations: 3.984 kB / 0.784 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.444e-05/0.1844, allocations: 0 / 0.784 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.199e-05/0.1844, allocations: 23.91 kB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1845, allocations: 4 kB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1845, allocations: 0 / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.1845, allocations: 0 / 0.7841 GB, free: 12.73 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.0002597/0.1847, allocations: 315.6 kB / 0.7844 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.1848, allocations: 8.031 kB / 0.7844 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/0.185, allocations: 24.91 kB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.431e-05/0.1851, allocations: 164.4 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-06/0.1851, allocations: 384 / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.1851, allocations: 4.375 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.1853, allocations: 38.19 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.1853, allocations: 192 / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.1853, allocations: 3.938 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1853, allocations: 0 / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.394e-05/0.1854, allocations: 11.98 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.1855, allocations: 145.7 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.719e-05/0.1856, allocations: 30.53 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.1856, allocations: 8.922 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.1857, allocations: 7.922 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.1857, allocations: 30.56 kB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1857, allocations: 0 / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002304/0.1859, allocations: 49.62 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.186, allocations: 51.41 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.273e-05/0.186, allocations: 93.86 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.186, allocations: 25.7 kB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.1861, allocations: 88.12 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.1861, allocations: 3.906 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.1861, allocations: 9.719 kB / 0.7851 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.797e-05/0.1863, allocations: 311 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.1863, allocations: 8 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-05/0.1864, allocations: 11.92 kB / 0.7854 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.06e-05/0.1864, allocations: 20.84 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1865, allocations: 3.938 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001205/0.1866, allocations: 37.69 kB / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.1866, allocations: 8.094 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1866, allocations: 0 / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1866, allocations: 7.938 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.1867, allocations: 3.984 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1867, allocations: 0 / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.1868, allocations: 4 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1868, allocations: 4 kB / 0.7855 GB, free: 11 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 8.514e-05/0.1869, allocations: 105.8 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.1869, allocations: 3.984 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/0.187, allocations: 18.98 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.187, allocations: 4 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.187, allocations: 0 / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.187, allocations: 0 / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.1871, allocations: 146 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1871, allocations: 0 / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.2e-05/0.1872, allocations: 7.984 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1872, allocations: 0 / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1872, allocations: 3.938 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1872, allocations: 4 kB / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1872, allocations: 0 / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.1874, allocations: 61.12 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.1874, allocations: 81.09 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.1875, allocations: 7.938 kB / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.663e-05/0.1875, allocations: 4 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.1875, allocations: 7.969 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.1875, allocations: 0 / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.6e-05/0.1876, allocations: 75.28 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1876, allocations: 3.938 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001733/0.1878, allocations: 0 / 0.786 GB, free: 10.38 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 0.0001232/0.1879, allocations: 103.2 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.188, allocations: 11.98 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.188, allocations: 4.062 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/0.1881, allocations: 7.984 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.1882, allocations: 3.469 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002286/0.1885, allocations: 92.86 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1887, allocations: 0.6729 MB / 0.7869 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.515e-05/0.1888, allocations: 4.062 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.1888, allocations: 11.42 kB / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.1888, allocations: 0 / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of Templates: time 0.001801/0.1906, allocations: 235.3 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)