Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 108 kB / 15.61 MB, free: 152 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.001321/0.001321, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9741/0.9741, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 72.72 kB / 0.5053 GB, free: 5.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1792, allocations: 80.93 MB / 0.5844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002825/0.1821, allocations: 1.432 MB / 0.5858 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000435/0.1825, allocations: 185 kB / 0.5859 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.1826, allocations: 0 / 0.5859 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.1826, allocations: 4 kB / 0.5859 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.1829, allocations: 23.84 kB / 0.586 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.1831, allocations: 49.33 kB / 0.586 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.502e-05/0.1832, allocations: 59.83 kB / 0.5861 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1833, allocations: 4 kB / 0.5861 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.592e-05/0.1834, allocations: 19.92 kB / 0.5861 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.008e-05/0.1834, allocations: 19.97 kB / 0.5861 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.1835, allocations: 4 kB / 0.5861 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.83e-05/0.1835, allocations: 8 kB / 0.5861 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/0.1835, allocations: 11.92 kB / 0.5861 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/0.1836, allocations: 23.92 kB / 0.5862 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.833e-05/0.1837, allocations: 36.22 kB / 0.5862 GB, free: 2.691 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1837, allocations: 7.875 kB / 0.5862 GB, free: 2.684 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1837, allocations: 0 / 0.5862 GB, free: 2.684 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1837, allocations: 0 / 0.5862 GB, free: 2.684 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000565/0.1843, allocations: 347.4 kB / 0.5865 GB, free: 2.293 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1843, allocations: 8.031 kB / 0.5865 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.1844, allocations: 8.938 kB / 0.5866 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.1845, allocations: 172.2 kB / 0.5867 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1846, allocations: 4.375 kB / 0.5867 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.1846, allocations: 384 / 0.5867 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1847, allocations: 68.81 kB / 0.5868 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1847, allocations: 192 / 0.5868 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.1848, allocations: 3.938 kB / 0.5868 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.1848, allocations: 0 / 0.5868 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.884e-05/0.1848, allocations: 23.92 kB / 0.5868 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004676/0.1853, allocations: 261 kB / 0.5871 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.1854, allocations: 46.48 kB / 0.5871 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.67e-05/0.1855, allocations: 16.8 kB / 0.5871 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.1855, allocations: 0 / 0.5871 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.1857, allocations: 71.42 kB / 0.5872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1857, allocations: 0 / 0.5872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002309/0.1859, allocations: 69.67 kB / 0.5873 GB, free: 1.422 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.186, allocations: 102.8 kB / 0.5874 GB, free: 1.297 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/0.1861, allocations: 109.8 kB / 0.5875 GB, free: 1.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.1861, allocations: 29.7 kB / 0.5875 GB, free: 1.145 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.1862, allocations: 88.05 kB / 0.5876 GB, free: 1.055 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.1862, allocations: 7.906 kB / 0.5876 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.1863, allocations: 29.7 kB / 0.5876 GB, free: 1.012 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1864, allocations: 318.8 kB / 0.5879 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.066e-05/0.1864, allocations: 11.94 kB / 0.5879 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.046e-05/0.1865, allocations: 34.56 kB / 0.588 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.829e-05/0.1865, allocations: 24.86 kB / 0.588 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1865, allocations: 3.938 kB / 0.588 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.866e-05/0.1866, allocations: 61.72 kB / 0.588 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1867, allocations: 8 kB / 0.5881 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1867, allocations: 0 / 0.5881 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1867, allocations: 3.938 kB / 0.5881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.1868, allocations: 7.938 kB / 0.5881 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1868, allocations: 0 / 0.5881 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.1869, allocations: 15.89 kB / 0.5881 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1869, allocations: 0 / 0.5881 GB, free: 0.5039 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.574e-05/0.187, allocations: 117.8 kB / 0.5882 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.187, allocations: 11.98 kB / 0.5882 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/0.1871, allocations: 3.5 kB / 0.5882 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.1871, allocations: 0 / 0.5882 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1871, allocations: 0 / 0.5882 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1871, allocations: 0 / 0.5882 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.1872, allocations: 173.6 kB / 0.5884 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1872, allocations: 448 / 0.5884 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.1873, allocations: 7.984 kB / 0.5884 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1873, allocations: 0 / 0.5884 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.1873, allocations: 4 kB / 0.5884 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1873, allocations: 0 / 0.5884 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1873, allocations: 4 kB / 0.5884 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.1874, allocations: 96.98 kB / 0.5885 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/0.1875, allocations: 85.02 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.1876, allocations: 7.984 kB / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1877, allocations: 4 kB / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.1877, allocations: 7.984 kB / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1877, allocations: 3.938 kB / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.216e-05/0.1878, allocations: 87.28 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1878, allocations: 0 / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001877/0.188, allocations: 12 kB / 0.5887 GB, free: 15.79 MB / 0.4981 GB 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 (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.000134/0.1881, allocations: 104.7 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.1882, allocations: 39.92 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1883, allocations: 0 / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.533e-05/0.1883, allocations: 15.98 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.1885, allocations: 11.94 kB / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.1889, allocations: 125.5 kB / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.1892, allocations: 0.6807 MB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.925e-05/0.1892, allocations: 4 kB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.1892, allocations: 7.438 kB / 0.5896 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1893, allocations: 3.938 kB / 0.5896 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.003168/0.1924, allocations: 0.8695 MB / 0.5905 GB, free: 13.89 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)