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.001159/0.001159, allocations: 100.1 kB / 15.88 MB, free: 12 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.001224/0.001224, allocations: 198.1 kB / 16.79 MB, free: 6.809 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.419/1.419, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.1 MB / 425.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001233, allocations: 63.03 kB / 0.5053 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1886, allocations: 80.93 MB / 0.5843 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003903/0.1925, allocations: 1.498 MB / 0.5858 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004947/0.1931, allocations: 175.4 kB / 0.586 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.847e-05/0.1931, allocations: 4 kB / 0.586 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.392e-05/0.1932, allocations: 7.922 kB / 0.586 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.1935, allocations: 19.92 kB / 0.586 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.1937, allocations: 51.05 kB / 0.5861 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.775e-05/0.1938, allocations: 47.86 kB / 0.5861 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.194, allocations: 8 kB / 0.5861 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.915e-05/0.194, allocations: 15.92 kB / 0.5861 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1941, allocations: 23.97 kB / 0.5861 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.1942, allocations: 0 / 0.5861 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.004e-05/0.1942, allocations: 4 kB / 0.5862 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.354e-05/0.1942, allocations: 11.92 kB / 0.5862 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.262e-05/0.1943, allocations: 19.92 kB / 0.5862 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.1944, allocations: 28.22 kB / 0.5862 GB, free: 3.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1944, allocations: 0 / 0.5862 GB, free: 3.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1944, allocations: 0 / 0.5862 GB, free: 3.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1944, allocations: 0 / 0.5862 GB, free: 3.07 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.0006433/0.1951, allocations: 351.4 kB / 0.5865 GB, free: 2.676 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1951, allocations: 8.031 kB / 0.5866 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.1952, allocations: 4.938 kB / 0.5866 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.1954, allocations: 176.2 kB / 0.5867 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1954, allocations: 384 / 0.5867 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.1954, allocations: 384 / 0.5867 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1956, allocations: 72.75 kB / 0.5868 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.1956, allocations: 192 / 0.5868 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.1956, allocations: 11.94 kB / 0.5868 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1956, allocations: 0 / 0.5868 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.944e-05/0.1957, allocations: 15.98 kB / 0.5868 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.1962, allocations: 257 kB / 0.5871 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.1963, allocations: 46.44 kB / 0.5871 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.215e-05/0.1964, allocations: 20.86 kB / 0.5871 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.1964, allocations: 0 / 0.5871 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.1966, allocations: 63.47 kB / 0.5872 GB, free: 1.887 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.1966, allocations: 0 / 0.5872 GB, free: 1.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002363/0.1968, allocations: 77.61 kB / 0.5873 GB, free: 1.805 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/0.1969, allocations: 106.8 kB / 0.5874 GB, free: 1.676 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/0.197, allocations: 105.8 kB / 0.5875 GB, free: 1.562 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1971, allocations: 25.7 kB / 0.5875 GB, free: 1.531 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.1971, allocations: 92.05 kB / 0.5876 GB, free: 1.438 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.1971, allocations: 7.906 kB / 0.5876 GB, free: 1.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.1972, allocations: 21.7 kB / 0.5876 GB, free: 1.402 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1973, allocations: 318.7 kB / 0.5879 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.319e-05/0.1974, allocations: 12 kB / 0.5879 GB, free: 1.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.187e-05/0.1974, allocations: 34.94 kB / 0.588 GB, free: 1.027 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.03e-05/0.1975, allocations: 40.81 kB / 0.588 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1975, allocations: 3.938 kB / 0.588 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.816e-05/0.1976, allocations: 53.7 kB / 0.5881 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1976, allocations: 4 kB / 0.5881 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1976, allocations: 0 / 0.5881 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1977, allocations: 3.984 kB / 0.5881 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.67e-05/0.1977, allocations: 8 kB / 0.5881 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1978, allocations: 0 / 0.5881 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.1979, allocations: 11.89 kB / 0.5881 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1979, allocations: 0 / 0.5881 GB, free: 0.8945 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.348e-05/0.198, allocations: 121.8 kB / 0.5882 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.198, allocations: 4 kB / 0.5882 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.198, allocations: 7.5 kB / 0.5882 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.198, allocations: 0 / 0.5882 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.1981, allocations: 0 / 0.5882 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1981, allocations: 11.92 kB / 0.5882 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.1982, allocations: 165.6 kB / 0.5884 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1982, allocations: 0 / 0.5884 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.24e-05/0.1982, allocations: 4 kB / 0.5884 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1982, allocations: 0 / 0.5884 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1983, allocations: 8 kB / 0.5884 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1983, allocations: 4 kB / 0.5884 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1983, allocations: 0 / 0.5884 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.1984, allocations: 85.05 kB / 0.5885 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.1985, allocations: 93 kB / 0.5886 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.1985, allocations: 64 / 0.5886 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1986, allocations: 15.98 kB / 0.5886 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1987, allocations: 4 kB / 0.5886 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.1987, allocations: 3.984 kB / 0.5886 GB, free: 284 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.689e-05/0.1988, allocations: 87.28 kB / 0.5887 GB, free: 196 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.503e-06/0.1988, allocations: 0 / 0.5887 GB, free: 196 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001872/0.199, allocations: 15.94 kB / 0.5887 GB, free: 180 kB / 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 (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.0001312/0.1991, allocations: 103.2 kB / 0.5888 GB, free: 64 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.1992, allocations: 31.92 kB / 0.5888 GB, free: 32 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1992, allocations: 0 / 0.5888 GB, free: 32 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.207e-05/0.1993, allocations: 23.98 kB / 0.5888 GB, free: 8 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.1994, allocations: 5.812 kB / 0.5888 GB, free: 4 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.1998, allocations: 153 kB / 0.589 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.2001, allocations: 0.6812 MB / 0.5897 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.2001, allocations: 11.44 kB / 0.5897 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.2001, allocations: 0 / 0.5897 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.002126/0.2022, allocations: 0.8038 MB / 0.5904 GB, free: 14.31 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)