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.001094/0.001094, allocations: 105.4 kB / 15.7 MB, free: 24 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.0009539/0.000954, allocations: 198.6 kB / 16.64 MB, free: 6.445 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.166/1.166, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.574/1.574, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001321/0.001321, allocations: 72.73 kB / 0.6723 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.183, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001699/0.1847, allocations: 0.582 MB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002306/0.185, allocations: 47.8 kB / 0.7848 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.415e-05/0.185, allocations: 0 / 0.7848 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.185, allocations: 4 kB / 0.7848 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.499e-06/0.185, allocations: 0 / 0.7848 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.1852, allocations: 15.92 kB / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.41e-05/0.1853, allocations: 0 / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.742e-05/0.1853, allocations: 7.984 kB / 0.7848 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.629e-05/0.1853, allocations: 3.984 kB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.215e-05/0.1854, allocations: 3.938 kB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.1854, allocations: 0 / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1855, allocations: 19.98 kB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.1855, allocations: 0 / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.356e-05/0.1855, allocations: 0 / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.958e-05/0.1856, allocations: 27.97 kB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1856, allocations: 0 / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1856, allocations: 0 / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1856, allocations: 0 / 0.7848 GB, free: 12.02 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.0002583/0.1859, allocations: 311.6 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1859, allocations: 8.031 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/0.1862, allocations: 20.91 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.535e-05/0.1863, allocations: 168.4 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1863, allocations: 8.375 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.1863, allocations: 384 / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1865, allocations: 34.25 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.1865, allocations: 192 / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1865, allocations: 3.938 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.1865, allocations: 3.984 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/0.1866, allocations: 11.92 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.1867, allocations: 153.7 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.982e-05/0.1868, allocations: 26.53 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/0.1868, allocations: 8.922 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.1869, allocations: 3.984 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.1869, allocations: 30.56 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1869, allocations: 3.938 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002153/0.1871, allocations: 57.55 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.1872, allocations: 51.41 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.184e-05/0.1872, allocations: 93.86 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.1872, allocations: 25.7 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.286e-05/0.1872, allocations: 80.14 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.1873, allocations: 3.906 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.1873, allocations: 17.7 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.1874, allocations: 315 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.314e-05/0.1874, allocations: 4 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.554e-05/0.1875, allocations: 7.984 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.425e-05/0.1876, allocations: 16.84 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1876, allocations: 3.938 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000111/0.1877, allocations: 45.75 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1877, allocations: 4 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1877, allocations: 0 / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1877, allocations: 3.938 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.29e-05/0.1878, allocations: 7.984 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.1878, allocations: 0 / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.915e-05/0.1878, allocations: 0 / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1879, allocations: 4 kB / 0.7863 GB, free: 10.29 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 5.88e-05/0.1879, allocations: 110.5 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-06/0.1879, allocations: 0 / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.188, allocations: 7.062 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.188, allocations: 0 / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.188, allocations: 0 / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.188, allocations: 7.984 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.711e-05/0.1881, allocations: 145.7 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1881, allocations: 0 / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.037e-05/0.1881, allocations: 7.984 kB / 0.7866 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1881, allocations: 0 / 0.7866 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1882, allocations: 7.938 kB / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1882, allocations: 3.938 kB / 0.7866 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1882, allocations: 0 / 0.7866 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.1883, allocations: 61.12 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.1883, allocations: 77.11 kB / 0.7867 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1884, allocations: 19.86 kB / 0.7867 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3e-05/0.1884, allocations: 4.031 kB / 0.7867 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-06/0.1884, allocations: 3.938 kB / 0.7867 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.1884, allocations: 4 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.082e-05/0.1884, allocations: 75.28 kB / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1884, allocations: 0 / 0.7868 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001702/0.1886, allocations: 0 / 0.7868 GB, free: 9.664 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.0001087/0.1887, allocations: 103.2 kB / 0.7869 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.1889, allocations: 19.92 kB / 0.7869 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1889, allocations: 0 / 0.7869 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.1889, allocations: 7.984 kB / 0.7869 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.1891, allocations: 0 / 0.7869 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002143/0.1893, allocations: 92.92 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.1895, allocations: 0.669 MB / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.155e-05/0.1895, allocations: 8.125 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.1896, allocations: 7.438 kB / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.1896, allocations: 0 / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of Templates: time 0.001806/0.1914, allocations: 231.5 kB / 0.7879 GB, free: 8.473 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)