Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001043, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001233/0.001233, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001789/0.001789, allocations: 267.1 kB / 291.4 MB, free: 1.82 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9752/0.9752, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004522, allocations: 12.58 kB / 0.598 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1834, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001655/0.1851, allocations: 1.159 MB / 0.6856 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004072/0.1856, allocations: 173.5 kB / 0.6858 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.535e-05/0.1856, allocations: 0 / 0.6858 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.1856, allocations: 0 / 0.6858 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.1859, allocations: 20.44 kB / 0.6858 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.1861, allocations: 51.34 kB / 0.6859 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.265e-05/0.1862, allocations: 47.84 kB / 0.6859 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.089e-05/0.1862, allocations: 9.094 kB / 0.6859 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.717e-05/0.1863, allocations: 24.83 kB / 0.6859 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.943e-05/0.1864, allocations: 19.91 kB / 0.686 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1864, allocations: 4 kB / 0.686 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.42e-05/0.1865, allocations: 4.562 kB / 0.686 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.1865, allocations: 6.297 kB / 0.686 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.1865, allocations: 33.7 kB / 0.686 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.949e-05/0.1866, allocations: 31.86 kB / 0.686 GB, free: 13.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1866, allocations: 8 kB / 0.686 GB, free: 13.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1866, allocations: 0 / 0.686 GB, free: 13.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1866, allocations: 0 / 0.686 GB, free: 13.84 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004831/0.1871, allocations: 338.3 kB / 0.6864 GB, free: 13.47 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1872, allocations: 12.03 kB / 0.6864 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.1872, allocations: 0 / 0.6864 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.1873, allocations: 179 kB / 0.6865 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1874, allocations: 0 / 0.6865 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.1874, allocations: 4 kB / 0.6866 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1875, allocations: 69.62 kB / 0.6866 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1876, allocations: 4.625 kB / 0.6866 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.1876, allocations: 4.688 kB / 0.6866 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1876, allocations: 0 / 0.6866 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.247e-05/0.1877, allocations: 26.14 kB / 0.6867 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.188, allocations: 272.8 kB / 0.6869 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.046e-05/0.1881, allocations: 35.06 kB / 0.6869 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.1882, allocations: 17.48 kB / 0.687 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.749e-06/0.1882, allocations: 0.5625 kB / 0.687 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.1883, allocations: 68.92 kB / 0.687 GB, free: 12.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.1884, allocations: 0 / 0.687 GB, free: 12.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002057/0.1886, allocations: 74.5 kB / 0.6871 GB, free: 12.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.1886, allocations: 106.8 kB / 0.6872 GB, free: 12.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.067e-05/0.1887, allocations: 106.5 kB / 0.6873 GB, free: 12.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1888, allocations: 34.36 kB / 0.6873 GB, free: 12.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.1888, allocations: 88.03 kB / 0.6874 GB, free: 12.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.1888, allocations: 11.81 kB / 0.6874 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.1888, allocations: 7.938 kB / 0.6874 GB, free: 12.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.189, allocations: 314.8 kB / 0.6877 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.189, allocations: 8 kB / 0.6877 GB, free: 11.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.762e-05/0.1891, allocations: 38.5 kB / 0.6878 GB, free: 11.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.458e-05/0.1891, allocations: 8.719 kB / 0.6878 GB, free: 11.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1891, allocations: 0 / 0.6878 GB, free: 11.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000101/0.1892, allocations: 62.19 kB / 0.6879 GB, free: 11.76 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1892, allocations: 5.906 kB / 0.6879 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1892, allocations: 192 / 0.6879 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1893, allocations: 0 / 0.6879 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.897e-05/0.1893, allocations: 11.95 kB / 0.6879 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1893, allocations: 0 / 0.6879 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.1895, allocations: 20.66 kB / 0.6879 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1895, allocations: 3.938 kB / 0.6879 GB, free: 11.72 MB / 494.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: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.788e-05/0.1896, allocations: 113.8 kB / 0.688 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.1896, allocations: 11.89 kB / 0.688 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.1896, allocations: 7.5 kB / 0.688 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1896, allocations: 0 / 0.688 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1896, allocations: 3.953 kB / 0.688 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1897, allocations: 0 / 0.688 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.1898, allocations: 165.7 kB / 0.6882 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1898, allocations: 3.984 kB / 0.6882 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.36e-05/0.1898, allocations: 4 kB / 0.6882 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1898, allocations: 0 / 0.6882 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1898, allocations: 4 kB / 0.6882 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1899, allocations: 4 kB / 0.6882 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1899, allocations: 448 / 0.6882 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.19, allocations: 89 kB / 0.6883 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.1901, allocations: 92.95 kB / 0.6884 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.1901, allocations: 7.984 kB / 0.6884 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1902, allocations: 13.31 kB / 0.6884 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.1902, allocations: 3.984 kB / 0.6884 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1903, allocations: 4 kB / 0.6884 GB, free: 11.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.604e-05/0.1903, allocations: 87.27 kB / 0.6885 GB, free: 11.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1903, allocations: 0 / 0.6885 GB, free: 11.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.1905, allocations: 19.95 kB / 0.6885 GB, free: 11 MB / 494.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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001164/0.1907, allocations: 107.2 kB / 0.6886 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.1908, allocations: 27.98 kB / 0.6886 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1908, allocations: 0 / 0.6886 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.362e-05/0.1909, allocations: 19.94 kB / 0.6886 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.191, allocations: 3.141 kB / 0.6887 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.1913, allocations: 132.7 kB / 0.6888 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.1916, allocations: 0.6848 MB / 0.6894 GB, free: 9.965 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.93e-05/0.1916, allocations: 4 kB / 0.6894 GB, free: 9.961 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.1917, allocations: 7.438 kB / 0.6895 GB, free: 9.953 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1917, allocations: 0 / 0.6895 GB, free: 9.953 MB / 494.1 MB Notification: Performance of Templates: time 0.003059/0.1947, allocations: 0.8025 MB / 0.6902 GB, free: 9.195 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)